首頁 後端開發 php教程 wordpress提示区域时间设置有关问题

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

Jun 13, 2016 pm 01:23 PM
date the warning

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

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

AI Hentai Generator

AI Hentai Generator

免費產生 AI 無盡。

熱門文章

R.E.P.O.能量晶體解釋及其做什麼(黃色晶體)
2 週前 By 尊渡假赌尊渡假赌尊渡假赌
倉庫:如何復興隊友
4 週前 By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island冒險:如何獲得巨型種子
3 週前 By 尊渡假赌尊渡假赌尊渡假赌

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

如何根據當前時間戳記建立文件/資料夾並為其命名 如何根據當前時間戳記建立文件/資料夾並為其命名 Apr 27, 2023 pm 11:07 PM

如何根據當前時間戳記建立文件/資料夾並為其命名

PHP Warning: Invalid argument supplied for foreach() - 解決方案 PHP Warning: Invalid argument supplied for foreach() - 解決方案 Aug 26, 2023 pm 09:42 PM

PHP Warning: Invalid argument supplied for foreach() - 解決方案

如何解決PHP警告:file_get_contents():無法開啟串流:HTTP請求失敗 如何解決PHP警告:file_get_contents():無法開啟串流:HTTP請求失敗 Aug 18, 2023 pm 11:34 PM

如何解決PHP警告:file_get_contents():無法開啟串流:HTTP請求失敗

2 個月不見,人形機器人 Walker S 會摺衣服了 2 個月不見,人形機器人 Walker S 會摺衣服了 Apr 03, 2024 am 08:01 AM

2 個月不見,人形機器人 Walker S 會摺衣服了

PHP Warning: date() expects parameter 2 to be long, string given的解決方法 PHP Warning: date() expects parameter 2 to be long, string given的解決方法 Jun 22, 2023 pm 08:03 PM

PHP Warning: date() expects parameter 2 to be long, string given的解決方法

如何解決PHP Warning: fopen(): SSL operation failed in file.php on line X 如何解決PHP Warning: fopen(): SSL operation failed in file.php on line X Aug 25, 2023 am 09:22 AM

如何解決PHP Warning: fopen(): SSL operation failed in file.php on line X

PHP Warning: Invalid argument supplied for foreach()的解法 in PHP Warning: Invalid argument supplied for foreach()的解法 in Jun 22, 2023 pm 01:07 PM

PHP Warning: Invalid argument supplied for foreach()的解法 in

Java中使用Date和SimpleDateFormat類別來處理時間的方法及用法介紹 Java中使用Date和SimpleDateFormat類別來處理時間的方法及用法介紹 Apr 21, 2023 pm 03:01 PM

Java中使用Date和SimpleDateFormat類別來處理時間的方法及用法介紹

See all articles