Announcement

Collapse
No announcement yet.

Confused about upgrade from VB4 to VB5.3.3

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Confused about upgrade from VB4 to VB5.3.3

    I'm upgrading from VB 4 to VB 5.3.3 and confused about running the initial install scripts. The directions in the download package say to run the upgrade script like so:

    http://www.example.com/forums/install/upgrade.php

    But when I do that I get a "file not found" in the browser. Some YouTube videos say you should include the path with the core directory: http://www.example.com/forums/core/install/upgrade.php
    Neither seem to work. I changed the htaccess.txt file like instructed. I'm running the latest Ubuntu server.

    I remember in VB4 upgrades I needed to modify some of the config.php files. I notice there is no mention of this is the VB5 upgrade notes. Should I be modifying these files before I run any upgrade scripts?

    Thanks

  • #2
    The config.php file for vb5.x is different from the config.php file for vB4.x. I would suggest you manually edit the config.php.new file located in the core/includes folder prior to running the upgrade script. Be sure to remove the .new extension before or after uploading. The upgrade script path includes /core so http://www.example.com/forums/core/install/upgrade.php is generally the correct path. There is also a presentation config.php file in the public_html folder but you do not normally need to edit that file other than to remove the .bkp extension.

    Comment


    • #3
      So what is the proper procedure to run the upgrade script?

      http://www.example.com/forums/install/upgrade.php or http://www.example.com/forums/core/install/upgrade.php

      Comment


      • #4
        vB3 / vB4 to vB5 Upgrade Instructions

        ****BACK UP THE DATABASE & FILES FIRST****

        1. You need to remove all vB3 / vB4 files and folders out of the way first, (except attachments, avatars etc if you're storing these on the server).

        2. Download and unzip the vBulletin 5 files.

        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'] = 'dbmaster@example.com';
        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

        6. Browse to yourforumpath.com/core/install/upgrade.php.

        7. Enter your customer number and the upgrade will proceed.

        8. Delete the /core/install directory after the upgrade has finished.
        MARK.B | vBULLETIN SUPPORT

        TalkNewsUK - My vBulletin 5.4.2 Demo - FEATURING "ROUTE BY NODE"!
        AdminAmmo - My Cloud Demo

        Comment


        • #5
          after
          6. Browse to yourforumpath.com/core/install/upgrade.php.
          I get this error in the browser:
          Call to undefined function xml_parser_create()

          The documentation says to install with
          yourforumpath/install/upgrade.php

          Comment


          • #6
            Originally posted by mrscot View Post
            Either of these URLs should work with the provided .htaccess file. They would run the same exact upgrade scripts.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud customization and demonstration site.
            vBulletin 5 Documentation - Updated every Friday. Report issues here.
            vBulletin 5 API - Full / Mobile
            I am not currently available for vB Messenger Chats.

            Comment


            • #7
              Originally posted by mrscot View Post
              after
              6. Browse to yourforumpath.com/core/install/upgrade.php.
              I get this error in the browser:
              Call to undefined function xml_parser_create()

              The documentation says to install with
              yourforumpath/install/upgrade.php
              xml_parser_create is a PHP function that should be installed by default. You need to talk to your hosting provider or server administrator about enabling this.

              http://php.net/manual/en/xml.installation.php
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud customization and demonstration site.
              vBulletin 5 Documentation - Updated every Friday. Report issues here.
              vBulletin 5 API - Full / Mobile
              I am not currently available for vB Messenger Chats.

              Comment


              • #8
                How can I tell if the xml_parser_create is enabled? I don't see any reference to it in my info.php output.

                This is the command I had to run on my ubuntu server to install PHP:
                sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql

                Are there any other PHP modules that I should be installing?

                Comment


                • #9
                  When I try to install with the url http://www.example.com/forums/core/install/upgrade.php, I'm prompted to enter database info, etc. When I click create files at the bottom i get two error messages:
                  • Was not able to write to the file /var/www/html/config.php. Please check your write permissions and try again.
                  • Was not able to write to the file /var/www/html/core/includes/config.php. Please check your write permissions and try again.
                  This makes sense because the files are not there. When I add in the two files with the correct database info, the browser screen then turn white.

                  Comment


                  • #10
                    If you're being prompted for database info, then you haven't followed the instructions I posted correctly.

                    You need to complete every single step. You must also make a new config file as per the instructions, you cannot use the old vB4 config file. All vB4 files MUST be removed from the server.

                    However, you need to sort out the xml_parser_create problem first. This is something your host needs to assist you with.
                    MARK.B | vBULLETIN SUPPORT

                    TalkNewsUK - My vBulletin 5.4.2 Demo - FEATURING "ROUTE BY NODE"!
                    AdminAmmo - My Cloud Demo

                    Comment


                    • #11
                      Thanks for you fast response!
                      Attached is the a screen shot of what I mean by prompted database info.Am I not supposed to receive this configuration builder form?
                      The directory I'm using contains only the files from the UPLOAD folder of the vb 5.3.3 download. The only thing that is from the previous version of VB4 is the database, which I need in order to keep all my content.
                      We are using our own servers to host the site.

                      Comment


                      • #12
                        Originally posted by mrscot View Post
                        Thanks for you fast response!
                        Attached is the a screen shot of what I mean by prompted database info.Am I not supposed to receive this configuration builder form?
                        The directory I'm using contains only the files from the UPLOAD folder of the vb 5.3.3 download. The only thing that is from the previous version of VB4 is the database, which I need in order to keep all my content.
                        We are using our own servers to host the site.
                        That screen is only shown on new installs. If you're seeing it, then the two config files have not been renamed and populated as per the instructions, or the database cannot be read.
                        MARK.B | vBULLETIN SUPPORT

                        TalkNewsUK - My vBulletin 5.4.2 Demo - FEATURING "ROUTE BY NODE"!
                        AdminAmmo - My Cloud Demo

                        Comment


                        • #13
                          Good to know!
                          I'll start the steps over again from scratch and take note of what happens.
                          Thanks again

                          Comment


                          • #14
                            I just finished from starting over with a clean directory but still have my old database. I followed the steps mentioned about perfectly. When I load localhost/core/install/upgrade.php in Firefox, the screen goes white.

                            Comment


                            • #15
                              Then you have an error in your /core/includes/config.php file. You need to ask your hosting provider how to access your PHP Error Log. The last error in it should be from the upgrade.php script.
                              Translations provided by Google.

                              Wayne Luke
                              The Rabid Badger - a vBulletin Cloud customization and demonstration site.
                              vBulletin 5 Documentation - Updated every Friday. Report issues here.
                              vBulletin 5 API - Full / Mobile
                              I am not currently available for vB Messenger Chats.

                              Comment

                              Working...
                              X