What version of Zen Cart? 1.5.7c
Is it a new install or an upgrade? New
What the addons/contributions you have installed? DisplayLogs (zc_plugins) and one I am developing (zc_pluggins)
What customization's have you made? In a nutshell, I have cloned configuration.php as the framework of my plugin. It reads and displays close to 100 options I have added for downloading and preparing .csv or .xml datafeeds for integration into the catalog. It also has image management, sitemap tools, mass product mover and backup tools.
What type of server are you using? Apache 2
Are you installing locally? Yes
What operating system? Ubuntu 21.04 LAMP stack (individually installed...not a package)
What version of PHP is installed on the server? 7.4
What version of MySQL is installed on the server? Mariadb 8
What you were doing when your problem occurred? It happens randomly when I exit my plugin to go and look at other admin settings and visa versa.
What are the steps to reproduce the problem? I don't know...happens randomly.
Have you attempted to fix the problem? I have not because there are, in fact, duplicate constant definitions ... especially between responsive classic and the original zc files. You can verify, as I did, by looking up each of the duplicate constants by using the admin developers tool.
What steps have you taken? None, other than reporting this. None of the duplicate definitions are from my plugin. So, I do not think it is connected to my plugin...could be wrong though. I just don't know...
This is the report from DisplayLogs:
HTML Code:
[29-Sep-2021 09:01:55 America/New_York] Request URI: /index.php?main_page=index&cPath=3_4, IP address: 192.168.1.14
#1 require_once(/includes/languages/english/index.php) called at [/includes/modules/require_languages.php:29]
#2 require(/includes/modules/require_languages.php) called at [/includes/modules/pages/index/header_php.php:123]
#3 require(/includes/modules/pages/index/header_php.php) called at [/index.php:35]
--> PHP Notice: Constant TEXT_MAIN already defined in /includes/languages/english/index.php on line 9.
[29-Sep-2021 09:01:55 America/New_York] Request URI: /index.php?main_page=index&cPath=3_4, IP address: 192.168.1.14
#1 require_once(/includes/languages/english/index.php) called at [/includes/modules/require_languages.php:29]
#2 require(/includes/modules/require_languages.php) called at [/includes/modules/pages/index/header_php.php:123]
#3 require(/includes/modules/pages/index/header_php.php) called at [/index.php:35]
--> PHP Notice: Constant TEXT_GREETING_GUEST already defined in /includes/languages/english/index.php on line 13.
[29-Sep-2021 09:01:55 America/New_York] Request URI: /index.php?main_page=index&cPath=3_4, IP address: 192.168.1.14
#1 require_once(/includes/languages/english/index.php) called at [/includes/modules/require_languages.php:29]
#2 require(/includes/modules/require_languages.php) called at [/includes/modules/pages/index/header_php.php:123]
#3 require(/includes/modules/pages/index/header_php.php) called at [/index.php:35]
--> PHP Notice: Constant TEXT_GREETING_PERSONAL already defined in /includes/languages/english/index.php on line 18.
[29-Sep-2021 09:01:55 America/New_York] Request URI: /index.php?main_page=index&cPath=3_4, IP address: 192.168.1.14
#1 require_once(/includes/languages/english/index.php) called at [/includes/modules/require_languages.php:29]
#2 require(/includes/modules/require_languages.php) called at [/includes/modules/pages/index/header_php.php:123]
#3 require(/includes/modules/pages/index/header_php.php) called at [/index.php:35]
--> PHP Notice: Constant TEXT_INFORMATION already defined in /includes/languages/english/index.php on line 20.
[29-Sep-2021 09:01:55 America/New_York] Request URI: /index.php?main_page=index&cPath=3_4, IP address: 192.168.1.14
#1 require_once(/includes/languages/english/index.php) called at [/includes/modules/require_languages.php:29]
#2 require(/includes/modules/require_languages.php) called at [/includes/modules/pages/index/header_php.php:123]
#3 require(/includes/modules/pages/index/header_php.php) called at [/index.php:35]
--> PHP Notice: Constant HEADING_TITLE already defined in /includes/languages/english/index.php on line 53.
Bookmarks