Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

PHP Warning

AJ Penninga's Avatar

AJ Penninga

04 Jan, 2016 03:12 PM

Hey folks,

I'm using v 1.6.5 with EE 2.10.2. I'm running on Amazon's AWS with PHP 5.4.40. I'm also using FL's master config, and when I have debugging turned on, I get the following warning about timezone related information:

A PHP Error was encountered
Severity: Warning
Message: 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.
Filename: models/ep_auth.php
Line Number: 99

  1. Support Staff 1 Posted by Malcolm Elswort... on 28 Jan, 2016 11:30 AM

    Malcolm Elsworth's Avatar

    Hi,

    So sorry for the slow response to this - somehow this ticket got missed.

    This isn't something we encountered before and sounds like an environmental issue. Did a quick Google and found this:

    http://stackoverflow.com/questions/16765158/date-it-is-not-safe-to-...

    Are you able to update your PHP INI file?

    Thanks,
    Malcolm

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac