Announcement

#1 2011-07-23 03:04:05

styxsailor
Translation Team
2011-07-18
34

[resolved] Multitude of warning messages on php script time functions

Hi all,

When trying to view my newly created piwigo album, I get several warning messages in different frames on the screen, all seemingly related to php time functions. These appear as part of the background.

How to resolve this, or (if safe) suppress the warnings?

Attached below some prevalent examples.

Thanks for any help!

-- styxsailor


Example warning messages:

Warning: strftime(): 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 'Europe/London' for 'BST/1.0/DST' instead in /var/www/html/photos/piwigo/include/smarty/libs/Smarty_Compiler.class.php on line 400

Warning: mktime(): 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 'Europe/London' for 'BST/1.0/DST' instead in /var/www/html/photos/piwigo/include/functions.inc.php on line 520 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 'Europe/London' for 'BST/1.0/DST' instead in /var/www/html/photos/piwigo/include/functions.inc.php on line 520

Offline

 

#2 2011-07-23 04:07:26

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Multitude of warning messages on php script time functions

hello
please see existing threads like [Forum, post 115421 by plg in topic 16354] Errors

thx


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2011-07-23 10:01:13

styxsailor
Translation Team
2011-07-18
34

Re: [resolved] Multitude of warning messages on php script time functions

Many thanks for the link and apologies for not being able to locate it myself. This resolves the problem.

Now the gallery seems to be up flawlessly :D

Kudos and thanks for a very nice application!

-- styxsailor

Offline

 

Board footer

Powered by FluxBB

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