Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings.

postcd

Well-Known Member
Oct 22, 2010
721
21
68
Hello,

after i switched from CGI handler to suPHP, i see i have error when i dont see PDO module when i do command "php -m" to list php modules.

But in easy apache i have pdo ticked (enabled)

also ioncube stopped working and also im getting errors related to tiemzone issue acros various php scripts on various accounts:

Warning: strtotime() [function.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 'America/New_York' for 'EDT/-4.0/DST' instead in /home/bulterie/public_html/libraries/joomla/utilities/date.php on line 56
Please any idea on cause of this? How to fix?
 

Infopro

Well-Known Member
May 20, 2003
17,075
525
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Re: Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone setti

A quick search of google for:
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings.
Brings back lots of results. IIRC, you have a Joomla. This may be helpful:
/http://forum.joomla.org/viewtopic.php?t=363681
 

postcd

Well-Known Member
Oct 22, 2010
721
21
68
Re: Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone setti

Thanks, this issue was fixed. It was caused by an erroneous data i added into php.ini file some time before.