Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [inny]Błąd date() w elgg
Borneq
post 13.10.2013, 07:55:10
Post #1





Grupa: Zarejestrowani
Postów: 50
Pomógł: 0
Dołączył: 27.12.2009

Ostrzeżenie: (0%)
-----


Zainstalowałem UwAmp, potem elgg. Dla http://localhost/elgg/install.php jest błąd:
Warning: date() [<a href='function.date'>function.date</a>]: 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 '2.0/DST' instead in C:\UwAmp\www\elgg\engine\lib\elgglib.php on line 1076
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
pedro84
post 13.10.2013, 13:29:31
Post #2





Grupa: Nieautoryzowani
Postów: 2 249
Pomógł: 305
Dołączył: 2.10.2006

Ostrzeżenie: (0%)
-----


Ustaw strefę czasową w pliku php.ini.


--------------------
Google knows the answer...
Go to the top of the page
+Quote Post
Borneq
post 13.10.2013, 13:38:14
Post #3





Grupa: Zarejestrowani
Postów: 50
Pomógł: 0
Dołączył: 27.12.2009

Ostrzeżenie: (0%)
-----


Dzięki, pomogło date.timezone = "Europe/Warsaw"
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 03:29