Page 1 of 1

Warning timezone settings - Script users register, login

Posted: 10 Mar 2017, 14:11
by marred

Code: Select all

Warning: date(): 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 /home/www/site/usrincls/class.Base.php on line 220
Admin! Please help!

Warning timezone settings - Script users register, login

Posted: 10 Mar 2017, 15:35
by Admin
Hello,
Add this code in the "config.php" file (in the "usrincls/" folder) and set timezone location you want:

Code: Select all

date_default_timezone_set('Europe/London');

Warning timezone settings - Script users register, login

Posted: 10 Mar 2017, 16:13
by marred
Thanks a lot. You are too kind. Keep up the good work.