Xampp timezone error

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
csgirl
Forum Newbie
Posts: 3
Joined: Thu Apr 22, 2010 7:50 am

Xampp timezone error

Post by csgirl »

I have installed Xampp, when i preview my joomla template on my machine it gives me the error

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 'Asia/Karachi' for '5.0/no DST' instead in C:\xampp\htdocs\libraries\joomla\utilities\date.php on line 56

I have searched for php.ini file and found three files, i gave the value for timezone in each of those files as

Code: Select all


date.timezone = 'Asia/Karachi'

also tried Asia/Karachi with single quotes, but the same warning is displayed on joomla template. How can i fix it?
Post Reply