Getting Error "Notice: Undefined variable..." While Attempting V5 Connect Upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NHTourGuide
    Member
    • Feb 2011
    • 61
    • 4.1.x

    Getting Error "Notice: Undefined variable..." While Attempting V5 Connect Upgrade

    Hi,

    I have been trying to upgrade my forum from V4 to V5 and keep running into issues. I have deleted the files in the /forums/ folder as instructed and uploaded the new files. I have done this 4 times thinking it was something I was missing.

    When I run the install script at https://XXXXXXXXXXX.com/forums/core/install/upgrade.php I fill in all the needed info, then click the button and I get a page telling me to delete the makeconfig.php file and begin the upgrade but there is no button to click continue after deleting the file so after I delete the file I refresh the page and get multiple lines of this error:
    Notice: Undefined variable: vboptions in /home/XXXXXXX/public_html/forums/core/vb/database.php on line 1262

    Then at the bottom is another error at the end of the above errors:
    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes) in /home/XXXXXX/public_html/forums/core/vb/database.php on line 1263

    I have verified all the requirements for V5 are at or above the requirements, running php 5.6

    Any ideas?
    NHTourGuide.com
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    makeconfig is really for new installations.

    For an upgrade you should configure the config files manually.

    Follow these instructions and see if it works:

    1. Download the newest vB5 release from the members' area. https://members.vbulletin.com

    2. Unzip the files and go to the "upload" folder.

    3. You need to rename this file:

    htaccess.txt

    To:

    .htaccess
    (Note the 'dot' at the start)

    4. You need to rename this file:

    /config.php.bkp

    To:

    /config.php

    Then, you need to rename this file:

    /core/includes/config.php.new

    To:

    /core/includes/config.php

    Then, in that file, you need to complete the following fields:

    $config['Database']['dbname'] = 'forum';
    Change forum to whatever your database name is.

    $config['Database']['technicalemail'] = '[email protected]';
    Change the email address to your own.

    $config['MasterServer']['username'] = 'root';
    Change root to the database username

    $config['MasterServer']['password'] = '';
    Enter the database password inside the '' marks.

    All other fields should be left as default, unless your database is on a separate server, in which case this will need changing:

    $config['MasterServer']['servername'] = 'localhost';

    5. Upload all files to your server/webspace/whatever and browse to yourforumpath.com/core/install/upgrade.php.

    6. Enter your customer number and the installation will proceed.

    7. Delete the /core/install directory after the installation has finished.

    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

    • NHTourGuide
      Member
      • Feb 2011
      • 61
      • 4.1.x

      #3
      Hi, Thank you for the help!

      I followed the instructions above and still have the same error. Just to be sure I went through it again to be sure I didn't miss a step but I didn't see anything I missed.
      NHTourGuide.com

      Comment

      • NHTourGuide
        Member
        • Feb 2011
        • 61
        • 4.1.x

        #4
        Woke up this morning with a head full of ideas... After completing a few of them without any luck I just shot in the dark and reset the database password, typing it in the config.php file, then copying it into the CPanel and it worked! I have no idea why the other password wasn't working, it was the same password as the 4.x forum which I did on purpose thinking I would change it after the 5.x was up and running as to not make too many changes at the same time.

        Anyway, I changed the password and that solved the problem!

        Thank you for the help!
        NHTourGuide.com

        Comment

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

          #5
          Glad you got it sorted...I'll close your ticket as well.
          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

          • NHTourGuide
            Member
            • Feb 2011
            • 61
            • 4.1.x

            #6
            Thanks!
            NHTourGuide.com

            Comment

            Related Topics

            Collapse

            Working...