Log in

View Full Version : Warning after upgrading to 4.2.2


ccw
12-12-2013, 01:10 AM
I just upgrade from 4.0.5 to 4.2.2, and after the upgrade, when login in Admin CP, I get the four warnings like this:

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 'CST/-6.0/no DST' instead in ..../includes/functions.php on line 5104

then I cannot enter into the AdminCP

How to sove this?

ozzy47
12-12-2013, 01:18 AM
See this post, http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/4000411-common-issues-4-2-2

ccw
12-12-2013, 03:27 AM
Thanks. Then how to Turning display errors off ?

ozzy47
12-12-2013, 03:31 AM
Did you read that thread, it tells you in there?

Especially pertaining to those warnings, http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/4000411-common-issues-4-2-2?p=4000425#post4000425

ccw
12-12-2013, 04:40 AM
Yes, I do find that post. But I do not want to modify php.ini, so there is another workaround is just disable the display error. But it does not tell me how to do so. That is the reaosn why I ask again.

Digital Jedi
12-12-2013, 04:45 AM
Yes, I do find that post. But I do not want to modify php.ini, so there is another workaround is just disable the display error. But it does not tell me how to do so. That is the reaosn why I ask again.
The instructions on how to do that were linked in the second post of that thread.