I have seen this exact issue posted in other threads, but none of the solutions have worked. This is a fresh install of v1.5.4. The server is running PHP 5.6.
This is the error when I try to access the admin page:
I have set the time zone in includes/extra_configures/set_time_zone.php, this is what is there now:Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home1/***/public_html/new/shopadmin/login.php on line 13
I am also getting this error in the log files:if (version_compare(PHP_VERSION, 5.3, '>='))
{
// put your timezone here. Refer to http://www.php.net/manual/en/timezones.php
$TZ = 'America/New_York'; // eg: 'Europe/Oslo'
I have checked the files referenced in the log file, but none of them have empty lines, spaces, etc.[11-Nov-2015 13:49:55 America/New_York] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home1/***/public_html/new/shopadmin/login.php:13) in /home1/***/public_html/new/includes/functions/sessions.php on line 115
[11-Nov-2015 13:49:55 America/New_York] PHP Warning: Cannot modify header information - headers already sent by (output started at /home1/***l/public_html/new/shopadmin/login.php:13) in /home1/***/public_html/new/shopadmin/includes/init_includes/init_templates.php on line 28
I just don't know what else to try. The Zen-Cart server compatibility page says that v1.5.4 is compatible with PHP 5.5 and 5.6, but it seems there are issues with 5.6. I tried using 5.5 instead, but it's not installed on the server unfortunately.
Any suggestions on how I can fix this? Thanks!
Bookmarks