You do not need to do the edits you are showing there. All you need to do is add the
define('SKIP_DS_ERRORS', true); line to the
includes/config.php file. This turns off the extra error reporting in php 5.3 & 5.4 (for strict & deprecated warnings), but will allow other important errors to show. That is for anything below 4.2.3
That will sort the issues you point out:
packages\vbforum\item
socialgroupmessage.php
socialgroupdiscussion.php
includes
class_core.php
Editing the
class_core.php file doesn't cover up errors though. It changes the vBulletin Error Handler so it doesn't catch warnings, notices, or deprecated notices. These will still be properly logged in your php error log but if they are not displayed on the screen there is no adverse affect on the application because they are informational not errors.
As for this one:
clientscript\yui\uploader\assets
uploader
That is already add into v4.2.2 pl2 and beyond, so no need for that anymore.
As far as the timezone issue.
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