I have changed nothing to have caused this error. The things I've seen are 1-2 years old in here on how to fix it.
DId something change otherwise? This error does not crash the gallery until someone clicks an image.
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): 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 /home1/XX/public_html/XX/photos/include/functions.inc.php:584 Stack trace: #0 /home1/XX/public_html/XX/photos/include/functions.inc.php(584): DateTime->__construct() #1 /home1/XX/public_html/XX/photos/include/functions.inc.php(605): str2DateTime('2014-11-02 13:5...', NULL) #2 /home1/XX/public_html/XX/photos/picture.php(832): format_date('2014-11-02 13:5...') #3 {main} thrown in /home1/XX/public_html/XX/photos/include/functions.inc.php on line 584
Line 584 is :
$date = new DateTime();
I have no idea what I need to type in there.
Last edited by JTX (2015-11-25 03:45:35)
Offline
Nevermind.......
I used
$date = new DateTime('America/Chicago');
in /functions.inc.php
And it works now. Is this going to be a re-occurring problem ?????
Last edited by JTX (2015-11-25 03:52:21)
Offline
Offline
ddtddt wrote:
Yeah I saw that, but what file needed to be edited was confusing.
Offline
Hi :-)
For php.ini, it depends on your web host.
You can add the code of Flop in the config local in file config.inc.php in folder local/config
if file doesn't exist you can create.
Offline
or using Local File Editor
Offline