More Information:
http://www.vbulletin.com/forum/forum...66#post4000466
Announcement
Collapse
No announcement yet.
Common Issues 4.2.2
Collapse
This topic is closed.
X
X
-
I am receiving a bunch of errors like this: Warning: date() [function.date]: It is not safe to rely on the system's timezone settings.
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.
See: http://php.net/manual/en/function.da...mezone-set.php
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:
Code:[Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = "America/Los_Angeles" ; http://php.net/date.default-latitude date.default_latitude = 34.3981 ; http://php.net/date.default-longitude date.default_longitude = 118.1358 ; http://php.net/date.sunrise-zenith ;date.sunrise_zenith = 90.583333 ; http://php.net/date.sunset-zenith ;date.sunset_zenith = 90.583333
- 2 likes
Leave a comment:
-
Common Issues 4.2.2
When viewing a page, you get warning, notice or deprecated messages.
First, search JIRA to see if there is a fix listed. If not, then add the following line to the top of your /includes/config.php file under the <?php line:
Code:error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED));
Tags: None
- 1 like
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Leave a comment: