Announcement

#1 2009-10-01 00:12:27

fundacionviztaz
Member
2009-10-01
17

Error smarty

Hola, me baje el Piwigo y al ejecutarlo en local me sale este error:

Warning: strftime() [function.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 'America/New_York' for '-5.0/no DST' instead in C:\xampp\htdocs\gantigua\include\smarty\libs\Smarty_Compiler.class.php on line 409

Me pueden colaborar con esto.
Muchas gracias y feliz día.

Offline

 

#2 2009-10-01 00:33:27

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: Error smarty

http://piwigo.org/forum/piwigo_specific/es.gif


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#3 2011-02-12 19:39:30

Rodrigo
Guest

Re: Error smarty

With PHP 5.3 you need to let php know what your time zone is.
You can edit your php.ini file and put in the following line:

date.timezone = "America/Anchorage"

You can find valid time zone strings at http://nl3.php.net/manual/en/timezones.php

 

Board footer

Powered by FluxBB

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