Originally Posted by
royaldave
... PHP Warning: date_default_timezone_get() ...
This means your hosting provider has not configured a default timezone for PHP (or has configured an incorrect timezone). PHP functions working with dates and / or times use this setting (or they do not know what timezone to apply by default if none is specified).
There are a number of threads here on the forums about this message... Basically the best fix is to edit PHP configuration (php.ini) and add the correct setting for "date.timezone". If the hosting provider does not allow modifying the "php.ini", sometimes they allow changes via .htaccess files (would need to check with hosting provider for specifics).
Personally, I dislike hosting providers where I cannot make minor modifications to PHP settings (within reason)... But if the hosting provider does not (and you are running PHP 5.3 or newer), in Zen Cart 1.5.4 there is a file you can edit: "/includes/extra_configures/set_time_zone.php". The file contains instructions on what to edit (and is run by the normal Zen Cart startup once installation is complete).
Originally Posted by
royaldave
... PHP Fatal error: Uncaught exception 'RedisException' with message 'Connection closed' in /xxx/zc_install/includes/functions/sessions.php:92 ...
Sounds like the hosting provider has installed and configured phpredis for session storage. You can verify this by checking the values for "session.save_handler" and "session.save_path" in the output from "phpinfo()".
If the hosting provider has installed and configured phpredis for session storage... May not be the "right" fix, but can you try the following (changes in red):
Edit "/zc_install/includes/application_top.php" starting around line 122.
Code:
/**
* set the session name and save path
*/
zen_session_name('zenInstallId');
if(ini_get('session.save_handler') == 'files') {
zen_session_save_path(SESSION_WRITE_DIRECTORY);
}
Edit "/includes/init_includes/init_sessions.php" starting around line 29.
Code:
/**
* set the session name and save path
*/
zen_session_name('zenid');
if(ini_get('session.save_handler') == 'files') {
zen_session_save_path(SESSION_WRITE_DIRECTORY);
}
Edit "/admin/includes/init_includes/init_sessions.php" starting around line 15.
Code:
zen_session_name('zenAdminID');
if(ini_get('session.save_handler') == 'files') {
zen_session_save_path(SESSION_WRITE_DIRECTORY);
}
Bookmarks