I can't upgrade to vB 4.2.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ccampo
    New Member
    • Feb 2010
    • 13
    • 4.0.0

    I can't upgrade to vB 4.2.3

    I currently have vB 4.1.10 happily running with PHP version 5.3.29

    I attempted to upgrade to 4.2.3 and it failed with this error :

    This version of vBulletin requires PHP version 5.4.0 or greater. Your PHP is version 5.3.29
    At this time I switched to use PHP version 5.4 and now I'm getting a different error :

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

    Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/orcaorg/public_html/forum/includes/class_core.php on line 728

    Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/orcaorg/public_html/forum/includes/class_core.php on line 728
    ...
    If I switch to use PHP 5.4 before I upgrade then the forums start getting lots of weird errors everywhere, whch is normal since vB 4.1 is not certified with PHP 5.4.

    I read some other thread with people having the same problem, but I'm not sure that's the solution:

    open ?/includes/config.php
    add to top on next line after <?php
    PHP Code:
    Code:
    // try to force display_errors off
    @ini_set('display_errors', false);
    open ?/includes/class_core.php
    find
    PHP Code:
    Code:
    $this->shutdown = vB_Shutdown::instance();
    replace with
    PHP Code:
    Code:
    $this->shutdown =@ vB_Shutdown::instance();
    Also during several failed attempts to upgrade, I had to finally restore the backup I took before I started everything, but I was also getting internal errors just like this guy here:
    I am upgrading my forum to 4.2.3 (latest version downloaded today) followed all directions uploaded files when i run install/upgrade.php i get this error : Due to


    Can you guys let me know what should I do here ?

    I need to upgrade.

  • ccampo
    New Member
    • Feb 2010
    • 13
    • 4.0.0

    #2
    This is the PHP version I have with the web host company 5.4.41 I'm using.

    I do not feel comfortable modifying vB php files other than the config.php file to fix a problem like this, there should be an easy fix for this, or there should be a patched version of those files coming from vB directly.

    Comment

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

      #3
      You should not modify any files.

      4 1.0 will give you errors on php 5.4. You need to upgrade php, and then upgrade vBulletin immediately afterwards.
      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

      • ccampo
        New Member
        • Feb 2010
        • 13
        • 4.0.0

        #4
        Originally posted by Mark.B
        You should not modify any files.

        4 1.0 will give you errors on php 5.4. You need to upgrade php, and then upgrade vBulletin immediately afterwards.
        That's exactly what I'm doing.
        Turn off the forum
        upgrade to PHP 5.4
        copy new files from vB4.2.3
        and then when running ?/forum/install/upgrade.php it complains about "Strict Standards: Non-static method vB_Shutdown::instance() ...." plus a bunch of other messages

        Warning: Cannot modify header information - headers already sent by (output started at /home/orcaorg/public_html/forum/includes/class_core.php:3322) in /home/orcaorg/public_html/forum/install/includes/class_upgrade_ajax.php on line 745

        Warning: Cannot modify header information - headers already sent by (output started at /home/orcaorg/public_html/forum/includes/class_core.php:3322) in /home/orcaorg/public_html/forum/install/includes/class_upgrade_ajax.php on line 746

        4.2.3
        4.2.3
        4.2.3
        4.2.3
        4.2.3
        4.2.3

        vbulletin-style.xml:
        vbulletin-mobile-style.xml:
        vbulletin-settings.xml:
        vbulletin-language.xml:
        vbulletin-navigation.xml:
        vbulletin-adminhelp.xml:

        The window that shows the upgrade status/progerss shows these errors:

        vBulletin 4.2.3 Upgrade System
        (Please be patient as some parts may take some time)
        Startup Errors
        Due to the following errors, the install/upgrade can not continue:

        Following is a list of files that are either missing or contain unexpected contents. The most likely cause is that all of the files from this release have not been properly uploaded. You should resolve this error before continuing.
        /album.php - File version mismatch: found 4.2.3, expected 4.1.10
        /announcement.php - File version mismatch: found 4.2.3, expected 4.1.10
        ...
        all vB php files are shown above

        Comment

        • ccampo
          New Member
          • Feb 2010
          • 13
          • 4.0.0

          #5
          Anybody ?

          Comment

          • ccampo
            New Member
            • Feb 2010
            • 13
            • 4.0.0

            #6
            So how do I perform the upgrade ?
            Any clue ?

            I'm stuck

            Comment

            • ccampo
              New Member
              • Feb 2010
              • 13
              • 4.0.0

              #7
              No solution for this ?
              I'm stuck with the old 4.1.10 version?

              Comment

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

                #8
                We'll need to look at your set up.

                Please raise a support ticket, and include admincp information and the ftp credentials.
                Also please inlcude a link to this thread.
                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

                • ccampo
                  New Member
                  • Feb 2010
                  • 13
                  • 4.0.0

                  #9
                  I'm still waiting for this to be solved.
                  The ticket was opened a while back. Issueid=1417913 opened on July 13th.

                  Comment

                  • Paul M
                    Former Lead Developer
                    vB.Com & vB.Org
                    • Sep 2004
                    • 9886

                    #10
                    Those errors basically indicate you are not running the 4.2.3 files, make sure you uploaded them, to the correct place.
                    Baby, I was born this way

                    Comment

                    • ccampo
                      New Member
                      • Feb 2010
                      • 13
                      • 4.0.0

                      #11
                      Looks like "Dominic Schlatter" was working on the upgrade and he said the upgrade was successful, however I do not think this upgrade was successful at all:

                      Here's what the Admin Control Panel shows right now:
                      Admin Control Panel (vBulletin 4.1.10 Patch Level 3)

                      That is the exact same version we had before.

                      I gave him all the users and passwords so that he could do it himself, but there are still problems, this upgrade was not successful.

                      I will have to restore again, please let me know what to do.

                      Comment

                      • ccampo
                        New Member
                        • Feb 2010
                        • 13
                        • 4.0.0

                        #12
                        Thanks Dominic.

                        I managed to make vBadvanced work again.
                        All versions are showing up correctly now, I recreated the cache and I did some other things and now it looks like it is working.

                        Thanks again for all your help.

                        Cesar

                        Comment

                        Related Topics

                        Collapse

                        Working...