![]() |
|
|||||||
| vBulletin技术交流 主要讨论vBulletin的安装使用、模板风格、插件以及小技巧等。 |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
IP: 180.125.91.226
|
|||
|
|||
|
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/Chicago' for 'CDT/-5.0/DST' instead in ..../includes/functions.php on line 4912
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/Chicago' for 'CDT/-5.0/DST' instead in ..../includes/functions.php on line 5104 Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/Chicago' for 'CDT/-5.0/DST' instead in ..../includes/functions.php on line 5104 Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/Chicago' for 'CDT/-5.0/DST' instead in ..../includes/functions.php on line 5104 ===================== Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/Chicago' for 'CDT/-5.0/DST' instead in ..../includes/functions.php on line 4912 Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/Chicago' for 'CDT/-5.0/DST' instead in ..../includes/functions.php on line 5104 Here let me teach you how to do: Method A: I add in config php this line and all ok now Code:
date_default_timezone_set ('America/Los_Angeles');
or Method B: This is a server configuration issue and should be set at the server level in the php.ini file. However you can override the issue by setting a locale in your config.php file. You would use something like: date_default_timezone_set ('America/Los_Angeles'); You can find all timezones here: http://www.php.net/manual/en/timezones.php Really should be set in the php.ini file in this section of code: Quote:
Last edited by topvip : 2014-03-21 at 04:51 PM |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Speed up your vBulletin forums! | topvip | vBulletin技术交流 | 0 | 2013-03-01 08:17 PM |
| vbulletin 3.8.*的去回传方法与以前的3.0的有很大的区别 | topvip | 闲话灌水 | 0 | 2009-02-13 11:56 PM |
| 【发布】vBulletin 3.6.1 简繁中文增强修正版 | smiling | vBulletin技术交流 | 0 | 2006-10-15 10:21 PM |
| 如何在本机上安装vBulletin | topvip | vBulletin技术交流 | 3 | 2006-03-04 10:28 PM |
| 如何在本机上安装vBulletin [转载] | sunshine | 服务器环境搭建 | 0 | 2006-01-11 05:42 PM |