deppr 发表于 2012-3-6 18:14:18

将ci上传到服务器上后出现的问题

我将我的ci上传到服务器上,设置好以后能运行了,但是当一个页面第一次打开的时候会显示:
A PHP Error was encountered

Severity: Warning

Message: strftime(): 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
当你刷新这个页面以后,这段提示就没有了,你在别的浏览器中打开这个页面的时候也不会在出现这段提示了,请问这是怎么回事,什么意思呢?

sdink 发表于 2012-3-6 21:18:29

date_default_timezone_set

lynn.wang 发表于 2012-3-7 08:56:34

去看看 date_default_timezone_set 这个哦
页: [1]
查看完整版本: 将ci上传到服务器上后出现的问题