我刚安装了joomla!1.6版本,平台是XAMPP
安装过程中,PHP的设定参数其他都是绿的,只有一项“错误显示”是红色,值为“开”
虽然说继续安装没有影响,但是在建站过程中,页面总是有如下的错误提示:
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 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 'UTC' for '8.0/no DST' instead in E:\xampp\htdocs\joomla1.5\libraries\joomla\utilities\date.php on line 198怎么解决这个问题?是要修改这个date.php还是关闭错误显示呢?
求助!!
安装过程中,PHP的设定参数其他都是绿的,只有一项“错误显示”是红色,值为“开”
虽然说继续安装没有影响,但是在建站过程中,页面总是有如下的错误提示:
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 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 'UTC' for '8.0/no DST' instead in E:\xampp\htdocs\joomla1.5\libraries\joomla\utilities\date.php on line 198怎么解决这个问题?是要修改这个date.php还是关闭错误显示呢?
求助!!
解决方案 »
- dede图片上传的问题,一定要解决了!!!请进来帮忙下!
- 有谁对DEDECMS比较熟悉的?
- 帮忙看看,偶是新手,谢谢,php
- php 模拟GMAIL,HOTMAIL(MSN),YAHOO,163,126邮箱登录(原创)
- 求Linux+nginx做负载的资料
- 我做的一个网站想集成facebook帐号登录,怎么弄啊???
- 发布一个获取PHP获取硬盘序列号的扩展
- win+iis+php架构网站不显示验证码
- 用户注册时如何实现QQ一样的分配ID号码。
- .xls文件打开显示“加载期间出现问题”
- 如何在joomla中添加新模板
- 现在学习了段时间,想看个cms 的源代码,大家推荐下,我读哪个系统的源代码好?
抱歉,我没找到这个php.ini文件=。= 可能是我比较菜,我用文件搜索也没搜到~求指教
是在joomla包里找吗?还是我找该文件的地方不对呢?
你好,我终于找到php.ini这个文件,也照你的方法修改了;但是现在又有一个新错误,如下:
Warning: DateTime::setTimezone() [datetime.settimezone]: Can only do this for zones with ID for now in E:\xampp\htdocs\joomla1.5\libraries\joomla\utilities\date.php on line 317我找到date.php文件的317行是:
316 if ($local == false) {
317 parent::setTimezone($this->_tz);
318 }求指教,谢谢!!
date_default_timezone_set ('Asia/Shanghai');
试试。你的php是哪个版本?
顺便看看
http://forum.joomla.org/viewtopic.php?p=2077396
http://forum.joomla.org/viewtopic.php?p=1810330
http://forum.joomla.org/viewtopic.php?f=428&t=426456
我查到这么一句话:PHP 5.3.1 (PEAR, Mail_Mime, MDB2, Zend)
是代表php版本是5.3.1吗?
不过我没找到init.php这个文件求指教~谢谢啊!