Xampp timezone error
Posted: Fri Jul 23, 2010 1:07 am
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
also tried Asia/Karachi with single quotes, but the same warning is displayed on joomla template. How can i fix it?
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'