Discuz教程网

安装过程中,遇到了时区问题而不能继续,请求帮助解决!

[复制链接]
authicon brfxtiw 发表于 2013-3-9 15:46:38 | 显示全部楼层 |阅读模式
有图有真相
  !!!!!

  
     

安装过程中,遇到了时区问题而不能继续,请求帮助解决!

安装过程中,遇到了时区问题而不能继续,请求帮助解决!
   

   
  
  为了便于搜索引擎收录,方便后人,我再把报错内容copy一份:

  • Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /web/install/include/install_function.php on line 1153
  • Fatal error: date(): Timezone database is corrupt - this should *never* happen! in /web/install/include/install_function.php on line 1153

复制代码
该错误信息在创建数据库表结构时出现,造成安装过程异常终止。
  
  我已根据Google给出的信息,修改了php.ini中的时区设置

  • [Date]
  • ;date.timezone = "PRC"
  • date.timezone = "Asia/Shanghai"
  • ;date.default_latitude = 31.7667
  • ;date.default_longitude = 35.2333
  • ;date.sunrise_zenith = 90.583333;date.sunset_zenith = 90.583333

复制代码
操作系统的时区也设置成亚洲/上海,重启系统后,问题依旧!
  
  请各位大神帮忙看看!



上一篇:【已解决】一些小问题的我的解决方法,如:uc通信和上传头像
下一篇:关于版块的问题、、、!!!!!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2025-5-15 11:48

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表