|
查看: 1234|回复: 2
|
(已绝决)Joomla warning messages 如何remov
[复制链接]
|
|
|
本帖最后由 huivshui 于 9-8-2010 09:04 PM 编辑
我在joomla preview template看,里面会出现warning messages:
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 thedate_default_timezone_set() function. In case you used any of thosemethods and you are still getting this warning, you most likelymisspelled the timezone identifier. We selected 'UTC' for '8.0/no DST'instead in C:\xampp\htdocs\myweb\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 thedate_default_timezone_set() function. In case you used any of thosemethods and you are still getting this warning, you most likelymisspelled the timezone identifier. We selected 'UTC' for '8.0/no DST'instead in C:\xampp\htdocs\myweb\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 thedate_default_timezone_set() function. In case you used any of thosemethods and you are still getting this warning, you most likelymisspelled the timezone identifier. We selected 'UTC' for '8.0/no DST'instead in C:\xampp\htdocs\myweb\libraries\joomla\utilities\date.php on line 198
要怎样把这些warning remove?
|
|
|
|
|
|
|
|
|
|
|
发表于 9-8-2010 05:23 PM
|
显示全部楼层
開一個file .htaccess 在您的joomla folder root
寫
php_value date.timezone Asia/Kuala_Lumpur
進去,recache 看看 |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 9-8-2010 09:03 PM
|
显示全部楼层
回复 2# @乐行者~阿酷
哈哈可以用了 ....谢谢你 |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|