• 技术文章 >后端开发 >php教程

    wordpress提示区域时间设置有关问题

    2016-06-13 13:23:39原创244
    wordpress提示区域时间设置问题
    PHP Warning: 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 'UTC' for '8.0/no DST' instead in D:\PHPWEB\wordpress\wp-includes\functions.php on line 35 PHP 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 'UTC' for '8.0/no DST' instead in D:\PHPWEB\wordpress\wp-includes\functions.php on line 43 PHP Warning: 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 'UTC' for '8.0/no DST' instead in D:\PHPWEB\wordpress\wp-includes\functions.php on line 35 PHP 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 'UTC' for '8.0/no DST' instead in D:\PHPWEB\wordpress\wp-includes\functions.php on line 43 PHP Warning: 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 'UTC' for '8.0/no DST' instead in D:\PHPWEB\wordpress\wp-includes\functions.php on line 35 PHP 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 'UTC' for '8.0/no DST' instead in D:\PHPWEB\wordpress\wp-includes\functions.php on line 107 PHP 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 'UTC' for '8.0/no DST' instead in D:\PHPWEB\wordpress\wp-includes\functions.php on line 109 PHP 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 'UTC' for '8.0/no DST' instead in D:\PHPWEB\wordpress\wp-includes\functions.php on line 111 PHP 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 'UTC' for '8.0/no DST' instead in D:\PHPWEB\wordpress\wp-includes\functions.php on line 112
    我刚装了wordpress2.8.5后出现这样的警告,是怎么回事啊?我是win7+IIS的服务器。

    ------解决方案--------------------
    虽然我E文很差,貌似是要先设置一下时区,或先调用一下date_default_timezone_set()这个来设置时区
    声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
    专题推荐:timezone the You Warning date
    上一篇: 第一回需要写个PHP,请求老师帮助! 下一篇: 求php,socket高手,看上这是什么类型的数据格式
    PHP编程就业班

    相关文章推荐

    • 深入了解怎么优化php+php-fom+nginx配置参数• PHP集成环境推荐解决思路 • 各位大大一起来帮忙看一下!解决办法 • PHP:路在何方?• 【PHP开发】国外程序员收集整理的 PHP 资源大全,国外收集整理_PHP教程

    全部评论我要评论

  • 取消发布评论发送
  • 1/1

    PHP中文网