Opencart Unknown: date() [function.date]: It is not safe to rely on the system’s timezone settings. HATASI VE ÇÖZÜMÜ

Unknown: date() [function.date]: 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 ‘America/Los_Angeles’ for ‘-7.0/DST’ instead in C:\USERS\mekanbelirt.com\www\Cart\catalog\controller\common\footer.php on line 45

If I correct the ‘-7.0/DST’ in my php.ini (yes the core php.ini file in my server directory) file it changes nothing. Different pages refer to different lines of code giving the same error about the date. Is there a way i can prevent this? I have been up and down the forums and everyone says to change the date in my php.ini (that doesnt work) The code directly in the footer.php file(and the other files other pages refer to) is a bit too complicated for me to know exactly what to change. Any suggestions and help would be greatly appriciated.

BTW the admin page says:
Unknown: date() [function.date]: 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 ‘America/Los_Angeles’ for ‘-7.0/DST’ instead in E:\USERS\slsspecialty\www\Cart\admin\controller\common\home.php on line 143Unknown: strtotime() [function.strtotime]: 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 ‘America/Los_Angeles’ for ‘-7.0/DST’ instead in E:\USERS\slsspecialty\www\Cart\admin\model\localisation\currency.php on line 104Unknown: date() [function.date]: 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 ‘America/Los_Angeles’ for ‘-7.0/DST’ instead in E:\USERS\slsspecialty\www\Cart\admin\model\localisation\currency.php on line 104Unknown: date() [function.date]: 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 ‘America/Los_Angeles’ for ‘-7.0/DST’ instead in E:\USERS\slsspecialty\www\Cart\admin\model\localisation\currency.php on line 130Unknown: date() [function.date]: 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 ‘America/Los_Angeles’ for ‘-7.0/DST’ instead in C:\USERS\mekanbelirt.com\www\Cart\admin\language\english\common\footer.php on line 3

ÇÖZÜM İÇİN 

ROOT’DAKİ İndex.php ve Admin Klasöründeki İndex.php nin içindeki 

<?php (en üstte olur ) 

hemen altına 

date_default_timezone_set(‘Europe/Budapest’);

ekleyip kaydedin . 

bu kadar  🙂