Still not resolved.
Tried to login to my admin panel this morning again to get an error log for posting on this forum.
mod_fcgid: stderr: PHP 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 /var/www/vhosts/joburlnx.ehost-services221.com/joburgonline.com/my_renamed_admin/login.php on line 13
So I went and had a look at the login.php file and found this, line 13 highlighted.
PHP Code:
define('ADMIN_PASSWORD_EXPIRES_INTERVAL', strtotime('- 90 day'));
That has nothing to do with time zones. The only timezone setting that I have changed were in my other thread:
the edited or commented out code in root folder: /includes/extra_configures/set_time_zone.php
PHP Code:
if ($TZ != '') {
//putenv('TZ=' . $TZ);
//@date_default_timezone_set($TZ);
vs original
PHP Code:
if ($TZ != '') {
putenv('TZ=' . $TZ);
@date_default_timezone_set($TZ);
timezone in includes/extra_configures/set_time_zone.php:
PHP Code:
// put your timezone here. Refer to http://www.php.net/manual/en/timezones.php
$TZ = 'Africa/Johannesburg'; // eg: 'Europe/Oslo'
Bookmarks