Announcement

#1 2019-08-02 18:33:14

cac67
Member
2015-11-22
3

My gallery is down.

Hello

I hope I'm in the right place for this.  I'm getting the following errors when I try to get into admin.  My host migrated my site to a new server 3 days ago but everything else seems to be working.  The gallery itself is loading but crashes when you click on an individual picture.

Code:

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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/common.inc.php on line 141

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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/common.inc.php on line 141

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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/common.inc.php on line 141

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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/common.inc.php on line 141

Warning: session_start(): 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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/common.inc.php on line 156

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/common.inc.php:141) in /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/common.inc.php on line 156

Warning: session_start(): 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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/common.inc.php on line 156

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/common.inc.php:141) in /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/common.inc.php on line 156

Warning: setcookie(): 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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/functions_user.inc.php on line 941

Warning: Cannot modify header information - headers already sent by (output started at /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/common.inc.php:141) in /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/functions_user.inc.php on line 941

Warning: session_regenerate_id(): 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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/functions_user.inc.php on line 953

Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/functions_user.inc.php on line 953

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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/admin.php on line 187

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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/admin.php on line 187

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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/admin.php on line 187

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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/admin.php on line 187

Warning: Unknown: 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 Unknown on line 0

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 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/functions.inc.php:658 Stack trace: #0 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/functions.inc.php(658): DateTime->__construct() #1 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/functions.inc.php(679): str2DateTime('2015-11-16 15:3...', NULL) #2 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/admin/intro.php(244): format_date('2015-11-16 15:3...') #3 /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/admin.php(312): include('/home/cncmod5/p. in /home/cncmod5/public_html/cncmilitaryemblems.com/pgallery/include/functions.inc.php on line 658

Piwigo version: 2.9.5
PHP version: Site is on 5.3, server is on 7.2.7
MySQL version:     10.2.25-MariaDB
Piwigo URL: http://cncmilitaryemblems.com/pgallery/

Offline

 

#2 2019-08-02 20:13:40

Alexander83706
Member
Boise
2019-07-07
148

Re: My gallery is down.

Check your php.ini file to make sure your date/timezone is set. That's the only issue I can think of.

Offline

 

#3 2019-08-02 20:33:27

cac67
Member
2015-11-22
3

Re: My gallery is down.

Thanks.  Your suggestion didn't directly solve the problem but it led me to find that the problem is not in Piwigo.  I don't have an ini file but I followed my providers instructions to make a phpinfo file (not what I named it) and that file generated the same errors, so now I take it to my provider.

Offline

 

#4 2019-08-02 22:12:36

erAck
Only trying to help
2015-09-06
2034

Re: My gallery is down.


Running Piwigo at https://erack.net/gallery/

Offline

 

#5 2019-08-02 22:16:32

cac67
Member
2015-11-22
3

Re: My gallery is down.

You may consider me suitably chastened.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact