![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 1 333 Pomógł: 137 Dołączył: 25.03.2008 Skąd: jesteś?? Ostrzeżenie: (0%) ![]() ![]() |
Cytat Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 '2.0/DST' instead in C:\urs\server\httpd\ezp\lib\ezutils\classes\ezdebug.php on line 879 Co mam z tym zrobić?? Z jednej podstrony na drugą przechodzi około 100 sec i wstępuje ten błąd w dużych ilościach cały czas w jednej linii... Instaluje go na localhost a dokładniej na konfiguracji vebserv. Ten post edytował ShadowD 2.07.2008, 14:46:06 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Przyjaciele php.pl Postów: 7 494 Pomógł: 302 Dołączył: 31.03.2004 Ostrzeżenie: (0%) ![]() ![]() |
A odpowiedź jest w dokumentacji:
date_default_timezone_set() Cytat Informacja: Since PHP 5.1.0 (when the date/time functions were rewritten), every call to a date/time function will generate a E_NOTICE if the timezone isn't valid, and/or a E_STRICT message if using the system settings or the TZ environment variable. Rozwiązanie: Ustaw strefę czasową. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 4.10.2025 - 11:06 |