Common Issues 4.2.2

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74111

    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));
    See: http://www.vbulletin.com/forum/forum...1-4-22-upgrade
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74111

    #2
    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:
    [noparse]
    [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
    [/noparse]
    Turning display errors off would also eliminate the problem. They aren't errors, simply warnings. They are due to how PHP has changed over the years. Previous to vBulletin 4.2.2, they were suppressed because vBulletin didn't know how to deal with them.
    Last edited by BirdOPrey5; Mon 28 Oct '13, 8:33am. Reason: Fixed first link
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Wayne Luke
      vBulletin Technical Support Lead
      • Aug 2000
      • 74111

      #3
      More Information:

      vBulletin 4.2.2 is NOW AVAILABLE for download. The feedback thread for the 4.2.2 release is HERE (http://www.vbulletin.com/forum/forum/vbulletin-sales-and-feedback/licensed-customer-feedback/4000120-vbulletin
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...