I have upgraded my ZC from 1.55e to 1.57d. My shop is a bookshop for local history. Everything seems to be alright with the English and the German versions of the shop. Testing both versions I can place orders and orders are getting through to my email inbox. But when I try to install the Norwegian language files, I can only navigate around looking at different books. As soon as I click 'Add to cart' I get a blank page. Same when clicking 'Write a review' or 'Search'. The Norwegian language files I have been using from ver. 1. 39, at several upgrades I have just uploaded them to the server and everything has been working. But this time: no. I have no other plugins. I get a lot of log files, enclosing the log file showing up when clicking 'Add to cart'.
[17-Apr-2022 14:40:41 UTC] Request URI: /butikk157d/index.php?main_page=product_info&cPath=1&products_id=22, IP address: .
#1 header() called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/init_includes/init_templates.php:80]
#2 require_once(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/init_includes/init_templates.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/autoload_func.php:37]
#3 require(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/autoload_func.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/application_top.php:222]
#4 require(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/application_top.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/index.php:25]
--> PHP Warning: Cannot modify header information - headers already sent by (output started at /customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/languages/norwegian.php:1) in /customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/init_includes/init_templates.php on line 80.
[17-Apr-2022 14:40:41 UTC] Request URI: /butikk157d/index.php?main_page=product_info&cPath=1&products_id=22, IP address: .
#1 header() called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/common/html_header.php:20]
#2 require(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/common/html_header.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/index.php:42]
--> PHP Warning: Cannot modify header information - headers already sent by (output started at /customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/languages/norwegian.php:1) in /customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/common/html_header.php on line 20.
[17-Apr-2022 14:40:41 UTC] Request URI: /butikk157d/index.php?main_page=product_info&cPath=1&products_id=22, IP address: .
#1 require(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/templates/tpl_product_info_display.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/modules/pages/product_info/main_template_vars.php:153]
#2 require(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/modules/pages/product_info/main_template_vars.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/common/tpl_main_page.php:178]
#3 require(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/index.php:94]
--> PHP Warning: Use of undefined constant BUTTON_IMAGE_ASK_A_QUESTION - assumed 'BUTTON_IMAGE_ASK_A_QUESTION' (this will throw an Error in a future version of PHP) in /customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/templates/tpl_product_info_display.php on line 94.
[17-Apr-2022 14:40:41 UTC] Request URI: /butikk157d/index.php?main_page=product_info&cPath=1&products_id=22, IP address: .
#1 require(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/templates/tpl_product_info_display.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/modules/pages/product_info/main_template_vars.php:153]
#2 require(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/modules/pages/product_info/main_template_vars.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/common/tpl_main_page.php:178]
#3 require(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/index.php:94]
--> PHP Warning: Use of undefined constant BUTTON_ASK_A_QUESTION_ALT - assumed 'BUTTON_ASK_A_QUESTION_ALT' (this will throw an Error in a future version of PHP) in /customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/templates/tpl_product_info_display.php on line 94.
[17-Apr-2022 14:40:41 UTC] Request URI: /butikk157d/index.php?main_page=product_info&cPath=1&products_id=22, IP address: .
#1 require(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/templates/tpl_product_info_display.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/modules/pages/product_info/main_template_vars.php:153]
#2 require(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/modules/pages/product_info/main_template_vars.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/common/tpl_main_page.php:178]
#3 require(/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/index.php:94]
--> PHP Warning: Use of undefined constant ARIA_QTY_ADD_TO_CART - assumed 'ARIA_QTY_ADD_TO_CART' (this will throw an Error in a future version of PHP) in /customers/b/9/1/c8eok39a9/webroots/r510470/butikk157d/includes/templates/responsive_classic/templates/tpl_product_info_display.php on line 164.
I'm not too experienced with php and mysql, I hope somebody will look into this as I'm stuck after searching all around for solutions.
Geir
https://osteroy-sogelag.org/butikk157d
Zencart 1.5.7d
PHP: 7.4.29
Bookmarks