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 /xxxx/xxxxxx/public_html/xxxx/login.php on line 13
This is on a website that was upgraded a few months ago and it just started showing this message on the login page for admin.
I was able to figure it out pretty quickly. I checked cpanel and the php level had been switched to 5.6 beta. This is on blue host. I'm pretty sure my client didn't make this change so bluehost may have auto switched her. Once I switched her back to 5.5, the problems disappeared.
I thought 1.5.4 was supposed to work on 5.6. What gives?
I checked the log files
[12-Jan-2016 17:09:20 UTC] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home7/xxxxx/public_html/xxxxx/login.php:13) in /home7/xxxx/public_html/includes/functions/sessions.php on line 115
[12-Jan-2016 17:09:20 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home7/xxxxx/public_html/shopkeeper/login.php:13) in /home7/xxxxx/public_html/shopkeeper/includes/init_includes/init_templates.php on line 28
[12-Jan-2016 17:09:20 UTC] PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home7/xxxx/public_html/includes/functions/sessions.php on line 166
[12-Jan-2016 17:09:20 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home7/xxxxx/public_html/xxxxxx/login.php:13) in /home7/xxxxxx/public_html/xxxxxxx/includes/functions/general.php on line 26
There are some changes but nothing that I can think of that could create these issues. Really need some insight here if hosting companies are switching to 5.6 as a default.
Bookmarks