Announcement

Collapse
No announcement yet.

Common Issues 4.2.2

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

  • #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:
    [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
    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 Joe D.; Mon 28th Oct '13, 9:33am. Reason: Fixed first link
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • #3
      More Information:

      http://www.vbulletin.com/forum/forum...66#post4000466
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API - Full / Mobile
      Vote for your favorite feature requests and the bugs you want to see fixed.

      Comment

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