Elxis CMS Forum

Ελληνικό Forum => Ασφάλεια => Topic started by: babis1 on July 15, 2018, 14:48:27

Title: captcha.class.php errors elxis 2009
Post by: babis1 on July 15, 2018, 14:48:27
εχω δυο errors (elxis 2009)....

PHP 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 /includes/captcha/captcha.class.php on line 257

PHP 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 /includes/captcha/captcha.class.php on line 278
Title: Re: captcha.class.php errors elxis 2009
Post by: xmanhattan on July 16, 2018, 17:41:21
Hello Babis,

Try adding this line to your php.ini file in the / directory of your server:
date.timezone = "Europe/Athens"

Title: Re: captcha.class.php errors elxis 2009
Post by: babis1 on July 17, 2018, 10:44:52
i thought that i haven't access to php.ini but after contacting with host admin everything its ok.....thanks