Problem upgrading from 4.0.7 to 4.2.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Omeka
    Senior Member
    • Jul 2004
    • 427
    • 5.7.0

    Problem upgrading from 4.0.7 to 4.2.1

    I have a problem with upgrading from version 4.0.7 to 4.2.1, the second step I see the following errors:

    Strict Standards: Non-static method vB_Shutdown::instance() should not be called statically, assuming $this from incompatible context in /home/newhobby/public_html/forums/includes/class_core.php on line 3397

    Strict Standards: Declaration of vB_Database_Alter_MySQL::drop_index() should be compatible with vB_Database_Alter::drop_index() in /home/newhobby/public_html/forums/includes/class_dbalter.php on line 882

    Strict Standards: Declaration of vB_Database_Alter_MySQL::add_index() should be compatible with vB_Database_Alter::add_index() in /home/newhobby/public_html/forums/includes/class_dbalter.php on line 882

    Strict Standards: Declaration of vB_Database_Alter_MySQL::add_field() should be compatible with vB_Database_Alter::add_field() in /home/newhobby/public_html/forums/includes/class_dbalter.php on line 882

    Strict Standards: Declaration of vB_Database_Alter_MySQL::drop_field() should be compatible with vB_Database_Alter::drop_field() in /home/newhobby/public_html/forums/includes/class_dbalter.php on line 882

    Strict Standards: Declaration of vB_Database_Alter_MySQL::query() should be compatible with vB_Database_Alter::query() in /home/newhobby/public_html/forums/includes/class_dbalter.php on line 882


    When I click on Upgrade Progress I have these errors:

    Strict Standards: Non-static method vB_Shutdown::instance() should not be called statically, assuming $this from incompatible context in /home/newhobby/public_html/forums/includes/class_core.php on line 3397

    Strict Standards: Declaration of vB_Database_Alter_MySQL::drop_index() should be compatible with vB_Database_Alter::drop_index() in /home/newhobby/public_html/forums/includes/class_dbalter.php on line 882

    Strict Standards: Declaration of vB_Database_Alter_MySQL::add_index() should be compatible with vB_Database_Alter::add_index() in /home/newhobby/public_html/forums/includes/class_dbalter.php on line 882

    Strict Standards: Declaration of vB_Database_Alter_MySQL::add_field() should be compatible with vB_Database_Alter::add_field() in /home/newhobby/public_html/forums/includes/class_dbalter.php on line 882

    Strict Standards: Declaration of vB_Database_Alter_MySQL::drop_field() should be compatible with vB_Database_Alter::drop_field() in /home/newhobby/public_html/forums/includes/class_dbalter.php on line 882

    Strict Standards: Declaration of vB_Database_Alter_MySQL::query() should be compatible with vB_Database_Alter::query() in /home/newhobby/public_html/forums/includes/class_dbalter.php on line 882


    How can I fix? Thanks
    https://traduzioni-italiane.it/
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24288
    • 6.0.X

    #2
    Firstly you should be upgrading to 4.2.2, or better still 4.2.3 Beta 2.

    What version of php is on the server?
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • Omeka
      Senior Member
      • Jul 2004
      • 427
      • 5.7.0

      #3
      The version is 5.4.4-14 + deb7u14, but I installed it on another domain version 4.2.1 and I have not had any problems. I have other errors even if I install a clean version with a new database. Thanks Mark for letting me respond.
      https://traduzioni-italiane.it/

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24288
        • 6.0.X

        #4
        The issue is that you have 4.0.7 on a server running php 5.4.

        4.0.7 is not compatible with php 5.4.

        You'll need to downgrade php to 5.2 or 5.3, then upgrade vBulletin to 4.2.2 (not 4.2.1), then upgrade php back to 5.4.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • Omeka
          Senior Member
          • Jul 2004
          • 427
          • 5.7.0

          #5
          I tried to install version 4.2.1 and I see mistakes as attachments. Mark, I go crazy, I do not understand anything anymore. In step 2 gives me 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>/home/newhobby/public_html/forums/includes/class_core.php</b> on line <b>3397</b><br />
          <br />
          <b>Strict Standards</b>: Declaration of vB_Database_Alter_MySQL::drop_index() should be compatible with vB_Database_Alter::drop_index() in <b>/home/newhobby/public_html/forums/includes/class_dbalter.php</b> on line <b>882</b><br />
          <br />
          <b>Strict Standards</b>: Declaration of vB_Database_Alter_MySQL::add_index() should be compatible with vB_Database_Alter::add_index() in <b>/home/newhobby/public_html/forums/includes/class_dbalter.php</b> on line <b>882</b><br />
          <br />
          <b>Strict Standards</b>: Declaration of vB_Database_Alter_MySQL::add_field() should be compatible with vB_Database_Alter::add_field() in <b>/home/newhobby/public_html/forums/includes/class_dbalter.php</b> on line <b>882</b><br />
          <br />
          <b>Strict Standards</b>: Declaration of vB_Database_Alter_MySQL::drop_field() should be compatible with vB_Database_Alter::drop_field() in <b>/home/newhobby/public_html/forums/includes/class_dbalter.php</b> on line <b>882</b><br />
          <br />
          <b>Strict Standards</b>: Declaration of vB_Database_Alter_MySQL::query() should be compatible with vB_Database_Alter::query() in <b>/home/newhobby/public_html/forums/includes/class_dbalter.php</b> on line <b>882</b><br />
          <?xml version="1.0" encoding="windows-1252"?>
          <upgrade>
          <message replace="0">Connection successful</message>
          <status>Status: Installing, Step 2 of 7</status>
          <longversion>install</longversion>
          <version>install</version>
          <nextstep>2</nextstep>
          <upgradenotice><![CDATA[<strong>Installing</strong>]]></upgradenotice>
          </upgrade>

          Attached Files
          https://traduzioni-italiane.it/

          Comment

          • Mark.B
            vBulletin Support
            • Feb 2004
            • 24288
            • 6.0.X

            #6
            You need to downgrade php as mentioned, then run the upgrade, then upgrade php again.
            Sorry if that wasn't clear.
            MARK.B
            vBulletin Support
            ------------
            My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
            My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

            Comment

            • Omeka
              Senior Member
              • Jul 2004
              • 427
              • 5.7.0

              #7
              Now everything is ok with the version of PHP 5.3.7, thank you Mark and good day.
              https://traduzioni-italiane.it/

              Comment

              Related Topics

              Collapse

              Working...