Back to top

Autore Topic: Errore sito remoto/locale  (Letto 1209 volte)

Offline bismark2005

  • Abituale
  • ****
  • Post: 1158
    • Mostra profilo
Errore sito remoto/locale
« il: 08 Mar 2010, 09:39:39 »
Quando scarico il sito da remoto a locale, nella fase diu restore ad un certo punto mi restituisce il seguente errore:

Warning: date() [function.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/Paris' for '1.0/no DST' instead in D:\xampp\htdocs\............php  on line 319

Fino a pochissimi giorni fa era tutto ok. Cosa può essere?

Offline KioSirio

  • Esploratore
  • **
  • Post: 150
  • Sesso: Maschio
    • Mostra profilo
Re:Errore sito remoto/locale
« Risposta #1 il: 08 Mar 2010, 10:25:50 »
Quando scarico il sito da remoto a locale, nella fase diu restore ad un certo punto mi restituisce il seguente errore:

Warning: date() [function.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/Paris' for '1.0/no DST' instead in D:\xampp\htdocs\............php  on line 319

Fino a pochissimi giorni fa era tutto ok. Cosa può essere?

Ciao.
Potrebbe essere un problema delle impostazioni PHP sull'Apache remoto, prova ad eseguire le seguenti modifiche:

Ecco, per risolvere tale errore avrei bisogno che tu mi modificassi un file di configurazione di Apache, di seguito ti riporto le istruzioni:

- Aprire il file di configurazione di PHP di Apache: sudo nano /etc/php5/apache2/php.ini
- Sostituire la stringa “;date.timezone = ” con “date.timezone = Europe/Rome”
- Salvare e chiudere il file php.ini
- Ricaricare la configurazione di Apache: sudo /etc/init.d/apache2 reload
- Riavviare Apache: sudo /etc/init.d/apache2 restart

Dimmi se così si risolve tutto.
Ciao.
KioSirio

Offline bismark2005

  • Abituale
  • ****
  • Post: 1158
    • Mostra profilo
Re:Errore sito remoto/locale
« Risposta #2 il: 08 Mar 2010, 10:30:34 »
Il problema è in locale non in remoto

Offline KioSirio

  • Esploratore
  • **
  • Post: 150
  • Sesso: Maschio
    • Mostra profilo
Re:Errore sito remoto/locale
« Risposta #3 il: 09 Mar 2010, 18:27:36 »
Il problema è in locale non in remoto

Si, scusa, ho sbagliato a scrivere, prova a seguire le istruzioni che ti ho scritto sul server in locale ...

 



Web Design Bolzano Kreatif