İlyas
20-03-2013, 17:44
Sadece yönetim panelinde bu hatayı alıyorum çözümü nedir acaba?
Warning: mktime() [function.mktime]: 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/Helsinki' for 'EET/2.0/no DST' instead in /home......
Normalde şöyle bir çözüm buldum ama ben de işe yaramadı hata vermeye devam ediyor.
libraries/joomla/utilities/date.php dosyasında yer alan:
function __construct($date = 'now', $tzOffset = 0)
{
if ($date == 'now' || empty($date))
{
$this->_date = strtotime(gmdate("M d Y H:i:s", time()));
return;
}
yerine şu kod eklenecek:
function __construct($date = 'now', $tzOffset = 0)
{
date_default_timezone_set ("Europe/Helsinki");
{
$this->_date = strtotime(gmdate("M d Y H:i:s", time()));
return;
}
Warning: mktime() [function.mktime]: 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/Helsinki' for 'EET/2.0/no DST' instead in /home......
Normalde şöyle bir çözüm buldum ama ben de işe yaramadı hata vermeye devam ediyor.
libraries/joomla/utilities/date.php dosyasında yer alan:
function __construct($date = 'now', $tzOffset = 0)
{
if ($date == 'now' || empty($date))
{
$this->_date = strtotime(gmdate("M d Y H:i:s", time()));
return;
}
yerine şu kod eklenecek:
function __construct($date = 'now', $tzOffset = 0)
{
date_default_timezone_set ("Europe/Helsinki");
{
$this->_date = strtotime(gmdate("M d Y H:i:s", time()));
return;
}