Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

joomla / Kako rešiti problem sa opomenom "date"

[es] :: Web aplikacije :: joomla / Kako rešiti problem sa opomenom "date"

[ Pregleda: 1781 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

damir_he
damir halja
sarajevo

Član broj: 102433
Poruke: 44
109.175.61.*



Profil

icon joomla / Kako rešiti problem sa opomenom "date"16.12.2010. u 22:39 - pre 162 meseci




Kako ih rešiti ?

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 C:\xampp\htdocs\myWeb\Joomla1\libraries\joomla\utilities\date.php on line 198

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:\xampp\htdocs\myWeb\Joomla1\libraries\joomla\utilities\date.php on line 56

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 C:\xampp\htdocs\myWeb\Joomla1\libraries\joomla\utilities\date.php on line 198

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 C:\xampp\htdocs\myWeb\Joomla1\libraries\joomla\utilities\date.php on line 198


LP
 
Odgovor na temu

Nikola Poša
Backend (PHP) developer
Beograd

Član broj: 173839
Poruke: 1616
*.adsl-a-1.sezampro.yu.



+33 Profil

icon Re: joomla / Kako rešiti problem sa opomenom "date"17.12.2010. u 17:12 - pre 162 meseci
Proveri da li ti je u configuration.php error_reporting postavljen na 0. Takođe, ako ni to ne da rezultata, mogao bi ručno da isključiš prikaz grešaka/upozorenja tako što ćeš u index.php, nakon ove linije kôda:
Code:
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );

dodati ovo:
Code:
ini_set('display_errors', 0);

A ako i nakon toga budeš dobijao isto upozorenje, onda uradi ono što ti se u njemu savetuje. Koristeći tu date_default_timezone_set(), na istom mestu kao u gornjem primeru, ručno podesi neku vremensku zonu, npr. ovako
Code:
date_default_timezone_set('Europe/Belgrade');
 
Odgovor na temu

[es] :: Web aplikacije :: joomla / Kako rešiti problem sa opomenom "date"

[ Pregleda: 1781 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.