Constant already defined debug logs
Debug logs like this:
--> PHP Warning: Constant TEXT_MAIN already defined in /Users/scott/Sites/store/includes/languages/english/index.php on line 9.
occur when a PHP define statement is used twice for the same constant. The root cause of this issue is addressed in Zen Cart 1.5.8, but until then, storeowners using Zen Cart 1.5.7 can suppress this message using the following method:
- Go to Admin > Configuration > Logging
- Set
Report All Errors (Admin)?andReport All Errors (Store)?toIgnoreDups.
Translate.png)