4.1.12 - 4.2 upgrade error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shooterdfl
    New Member
    • Jan 2009
    • 26
    • 4.0.x

    [Suite] 4.1.12 - 4.2 upgrade error

    Get this error when beginning the upgrade. See attached screenshot.

    PHP version 5.4.1 rc1
    Mysql version 5.1.62

    Code:
    [B]Strict Standards[/B]:  Non-static method vB_Shutdown::instance() should not be called statically, assuming $this from incompatible context in [B]/usr/www/dflsite/public/vb/includes/class_core.php[/B] on line [B]3314[/B]
    Attached Files
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    Looks like you're running php 5.4, try adding this to your config.php file:

    ini_set("display_errors", "0");

    Comment

    • shooterdfl
      New Member
      • Jan 2009
      • 26
      • 4.0.x

      #3
      Thanks for the response...tried that in my /includes/config.php to no avail. Clicked upgrade anyway and received this error;

      Unexpected Text:
      <br /><b>Strict Standards</b>: Non-static method vB_Shutdown::instance() should not be called statically, assuming $this from incompatible context in <b>/usr/www/dflsite/public/vb/includes/class_core.php</b> on line <b>3314</b><br /><?xml version="1.0" encoding="windows-1252"?><upgrade> <message replace="0">Altering cron Table (1 of 1)</message> <status>Status: Processing 4.2.0 Alpha 1, Step 3 of 22</status> <longversion>4.2.0 Alpha 1</longversion> <version>420a1</version> <nextstep>3</nextstep> <upgradenotice><=!=[=C=D=A=T=A=[<strong>Upgrading to 4.2.0 Alpha 1</strong>]=]=></upgradenotice></upgrade>
      Last edited by shooterdfl; Thu 24 May '12, 9:32am.

      Comment

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

        #4
        Open install/init.php and comment out line 25.

        PHP Code:
        // try to force display_errors on
        @ini_set('display_errors'true); 
        Translations provided by Google.

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

        Comment

        • shooterdfl
          New Member
          • Jan 2009
          • 26
          • 4.0.x

          #5
          That did the trick, upgrade completed without incident. Thanks Wayne!

          Comment

          Related Topics

          Collapse

          Working...