I set up my first Zen Cart this October and thought everything was running pretty smoothly, but just looked in the "logs" folder and see about 11,000 identical messages. Example of a file name is myDEBUG-adm-1354337184-103753.log. The messages started about 17 days ago and all look like this except it's repeated 4 times:
[30-Nov-2012 21:41:11] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant in /home/content/24/XXXXXXX/html/MY_CART/adminXXXXXX/includes/functions/admin_access.php on line 38
I checked in /MY_CART/adminXXXXXX/includes/functions/admin_access.php and this is what it says on line 38:
if (constant($result->fields['main_page']) == $page && $result->fields['page_params'] == $page_params) {
If anyone can explain what is happening and how to fix this it would be much appreciated.
Thanks, Ed
Bookmarks