Errore x5engine.php on line 2726
Автор: Alessandro D'ArpiniAccedendo al mio sito con:
http://vegetus.net/imsearch.php?search=test
Ottengo:
Warning: strtotime() [function.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 'America/New_York' for 'EDT/-4.0/DST' instead in /home/vegetu5/public_html/res/x5engine.php on line 2726
Accedendo invece su una directory TEST, in questo modo:
http://vegetus.net/TEST/imsearch.php?search=test
non si riscontrano problemi.
Versione software: 10.0.6.31
Test PHP installato su vegetus.net:
http://vegetus.net/phpinfo.php
Come posso risolvere il problema?
Автор
Mi rispondo da solo:
Aggiungere in php.ini la seguente stringa:
date.timezone = "Europe/Rome"
Problema risolto