Running V5 Upgrade.php but get redirected to install.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • decenttraveller
    New Member
    • Oct 2012
    • 9
    • 4.2.X

    Running V5 Upgrade.php but get redirected to install.php

    Hi,

    I wish to create a test site on V5. Hence, i created a new db and restore my existing VB4.1 database in it. Then i created a new folder to hold V5 files. When i was trying to run the upgrade.php, it keep redirect me to install.php. But i want and upgrade. what should i do? Please help. thanks
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    Sure the talbe prefix is set correctly?

    Comment

    • decenttraveller
      New Member
      • Oct 2012
      • 9
      • 4.2.X

      #3
      Originally posted by Zachery
      Sure the talbe prefix is set correctly?
      Hi, i left the table prefix empty. Same as in vb4.2. What need to be set at vb5 in table prefix?

      Comment

      • Zachery
        Former vBulletin Support
        • Jul 2002
        • 59097

        #4
        No, but that is a good reason for the system to redirect to the installer.

        Comment

        • decenttraveller
          New Member
          • Oct 2012
          • 9
          • 4.2.X

          #5
          Originally posted by Zachery
          No, but that is a good reason for the system to redirect to the installer.
          Not sure, if i run install.php, it will delete my existing table which i do not wish to. Any solution on this? i want to keep all my existing table in database. Appreciated your help Zachery. thanks

          Comment

          • decenttraveller
            New Member
            • Oct 2012
            • 9
            • 4.2.X

            #6
            Getting this error... anyone can help
            Install Progress
            • Installing
            • Step 1 - Connection successful
            • Table Conflict
            • Creating access table
            • An error has occurred with your database. Please contact vBulletin Support for assistance.
              Module: install, Step 2 Database Error:1050
              Table 'access' already exists
              Query:

              CREATE TABLE access ( userid INT UNSIGNED NOT NULL DEFAULT '0', nodeid SMALLINT UNSIGNED NOT NULL DEFAULT '0', accessmask SMALLINT UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY userid (userid, nodeid) ) ENGINE = InnoDB

            Comment

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

              #7
              If you are wanting to retain your posts and members you must NOT run the install script. You need to run the upgrade script.

              If it is redirecting you to install.php then for whatever reason it cannot find the database.

              If I had to take a guess, your /core/includes/config.php.new file probably hasn't been renamed and populated with the right information.
              Rename /core/includes/config.php.new to /core/includes/config.php and put the database credentials in, similar to how they are in the /includes/config.php file that vB3 and vB4 used.
              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

              • decenttraveller
                New Member
                • Oct 2012
                • 9
                • 4.2.X

                #8
                Thanks Mark,

                But i got this massage saying successfully connected to database. does it mean it connected to database? thanks
                Action Required
                Successfully connected to the database.
                Would you like to see options for clearing the existing contents of this database?

                Comment

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

                  #9
                  I think at this point we should really get a look at your set up.
                  Please send us a support ticket, including FTP access, existing admincp login and site url.

                  Please also include a link to this topic.
                  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

                  Related Topics

                  Collapse

                  • robandyuk
                    Help site has crashed
                    by robandyuk
                    For some reason the site started to get an error when uses posted about an invalid syntax now the site has crashed altogether. I can log in the adminCP ok but front end has lost the template on the main...
                    Thu 18 Jul '13, 12:34pm
                  • Veniamin
                    How to add table prefix
                    by Veniamin
                    My database doesn't have table prefix for vBulletin. I want to add prefix to differentiate vBulletin native tables from the third party tables. Is there a way to make it happen during the upgrade?
                    Thu 4 Oct '12, 7:07pm
                  Working...