Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    problema date su hosting

    Salve ho acquistato un hosting su iltuohosting.it.

    Mi da errore sulla funzione date() mentre in locale va tutto bene.

    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/Berlin' for 'CET/1.0/no DST' instead

  2. #2
    Utente di HTML.it L'avatar di garakkio
    Registrato dal
    Dec 2011
    residenza
    Roma
    Messaggi
    480
    Non è proprio un errore, ma un warning.
    Se non puoi farti impostare quel valore nella configurazione di php dal tuo host, puoi usare questa funzione: http://it.php.net/manual/en/function...mezone-set.php

  3. #3
    si avevo letto il manuale ed è quello che ho fatto grazie.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.