Joomla.it Forum

Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => Installazione, migrazione e aggiornamento => : sveva88 30 Dec 2009, 21:13:47

: Warning: strtotime() [function.strtotime],mktime() [function.mktime]strftime
: sveva88 30 Dec 2009, 21:13:47
Ho installato la versione 1.5.15 di Joomla e 1.7.3 di XAMPP. Lavoro in Windows Vista, ma il sito remoto sarà in Linux.
Quando vado su http://localhost
che sul "sito", che sul "administrator" al centro della pagina ho una serie di warning:
:
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 'Europe/Paris' for '1.0/no DST' instead in C:\server\xampp\htdocs\libraries\joomla\utilities\date.php on line 56
Warning: mktime() [function.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/Paris' for '1.0/no DST' instead in C:\server\xampp\htdocs\libraries\joomla\utilities\date.php on line 117
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 'Europe/Paris' for '1.0/no DST' instead in C:\server\xampp\htdocs\libraries\joomla\utilities\date.php on line 250.

Ho cambiato la versione 1.7.3 di Xampp al 1.7.1, ma il problema rimasto.
Ho aggiunto nel file php.ini

Codice: [Seleziona]
[Date]
; Defines the default timezone used by the date functions
date.timezone = "Europe/Rome"
Ma il problema rimasto.

Spero che Frascan che ha visto il mess di ieri mi trova.
: Re:Warning: strtotime() [function.strtotime],mktime() [function.mktime]strftime
: Roverto77 13 May 2010, 13:27:14
Ho lo stesso problema...qualcuno è riuscito a risolvere??

grazie!
: Re:Warning: strtotime() [function.strtotime],mktime() [function.mktime]strftime
: sveva88 14 May 2010, 16:02:23
Riinstalla tutto è unico modo.
: Re:Warning: strtotime() [function.strtotime],mktime() [function.mktime]strftime
: Hurin 28 Sep 2010, 20:58:42
Ciao,
per risolvere bisogna editare php.ini, individuare la sezione DATE e fare in modo che sia presente la
riga che specifica date.timezone come nell'esempio

:
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Europe/Rome


php.ini si trova nella directory php che sta nella cartella di installazione di Xampp