Complete loss of everything during upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frank47
    Member
    • Jun 2003
    • 88

    #16
    My bad. cpanel was lying to me (probably playing with cache). Had to remove phpinfo from disable listy to monitor and finally recomplied back to 5.3.
    Did clean install, db uploaded nicely.
    Now to retry a direct upgrade to 5.2 rather than going through 4.0 (I remember originally you could not go from 3.8 to 5.0 but had to go through a 4.0 upgrade. That is why I did it this way the first time)
    Will let you know .....

    Comment

    • frank47
      Member
      • Jun 2003
      • 88

      #17
      Now this is confusing. You said earlier that
      Originally posted by frank47 View Post
      is there a way to do a clean install of vb 5.2.2 and then import the database of 3.8.7 ?
      Thanx
      No. The structures are entirely different.
      BUT the manual says:
      If you are upgrading from vBulletin 3.x or 4.x, it is recommended to delete all previous vBulletin files from the server before uploading the vBulletin 5 Connect files
      Is this not the same????

      Comment

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

        #18
        Originally posted by frank47
        Now this is confusing. You said earlier that


        BUT the manual says:


        Is this not the same????
        No. You're confusing files with databases.

        An upgrade from vB3 to vB5 makes major changes to the database. Therefore you cannot simply put vB5 files on the server, conenct it to a vB3 database, and expect it to work. it won't. You would have to run the upgrade script.
        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

        • frank47
          Member
          • Jun 2003
          • 88

          #19
          Am confused on this and how to do the 3.8.7 upgrade to 5.2.2...

          I uploaded the vb 5.2.2 files and then tried to do an upgrade (...core/install/upgrade.php) and I end up with:
          Parse error: syntax error, unexpected T_USE, expecting T_FUNCTION in /home/bqanda/public_html/core/vb/database.php on line 24

          If I go to the root, I get:
          Parse error: syntax error, unexpected T_USE, expecting T_FUNCTION in /home/bqanda/public_html/core/vb/api.php on line 15

          Crap ...
          have to recompile with php 5.4 or 5.5

          Before I do that and try again, was it proper to simply upload the 5.2.2 files and then do an upgrade or was I supposed to delete all the 3.8.7 files before (although I can always after)

          What do you suggest?

          Waiting for your respoinse before recompiling (so I dont have to go back again to 5.3 (lol)

          Comment

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

            #20
            vB5 cannot have ANY vB3 or vB4 files present in its folder. The only exception to this would be things like the attachments and avatars folders, if you store these in the file system.
            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

            • frank47
              Member
              • Jun 2003
              • 88

              #21
              Still confused...

              So,

              1. Delete all vb 3.8.7 files (all files in system root; there are no avatars or attachments)
              2. Upload all 5.2.2 files
              3. Run core/install/upgrade.php

              If I remember correctly, the upgrade scxript will require deleting the database during the install (says database exists)

              I do not see how this would be different than a clean install of vb 5.2.2. - that is essentially what this is ??

              Comment

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

                #22
                No, you do not delete any databases. If you do that, you lose everything.

                What you will need to do, however, is edit the two config.php files. This is similar to how it worked for vB3. It sounds like that hasn't been done, so vBulletin thinks it's a new install.

                1. In the root, rename config.php.bkp to config.php. Do not edit anything else in this file.
                2. In the core/includes folder, rename config.php.new to 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.

                If you currently use a tabel prefix, put it here:
                $config['Database']['tableprefix'] = '';

                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';

                All of the above information will be in your original vB3 config file.

                3. You need to rename this file (in the root):

                /htaccess.txt

                To:
                /.htaccess
                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

                • frank47
                  Member
                  • Jun 2003
                  • 88

                  #23
                  This is kind of what I did before.
                  So, why did I recompile back to php 5.3 and reinstall 3.8.7 if all I am doing is deleting all ther files !!!

                  So, I delete all the 3.8.7 files I just uploaded and installed and then recompile back to php 5.5 and start all over again

                  Comment

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

                    #24
                    I think there's some confusion with terminology here.

                    "Clean install" means that you start afresh with a blank database. No content, no members, no forums. A clean install is what you get if you have never run vBulletin before and are starting from scratch. I think you've used that term a few times when that's not actually what you meant, and that may have confused things. If you're wanting to keep your existing content then it is never a clean install.

                    Having cleared that up, yes you will need at least php 5.4, otherwise vBulletin 5 will not run.
                    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

                    • frank47
                      Member
                      • Jun 2003
                      • 88

                      #25
                      And I thought everything was going great until:
                      • Step 5 - Importing Private Messages- step 2 of 4
                      • Processing 5000 records
                      • Process done
                      • Step 6 - Unexpected Text:
                        <?xml version="1.0" encoding="windows-1252"?> <br /> <b>Fatal error</b>: Call to a member function fetch_userinfo() on a non-object in <b>/home/bqanda/public_html/core/vb/string.php</b> on line <b>368</b><br /> Any thoughts on this ???

                      Comment

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

                        #26
                        That's a known bug related to orphan PMs.

                        Refresh the page and when the error comes up again, refresh again. Keep refreshing...the error will come up several times, but it will eventually get past.

                        Same may happen with Visitor Messages too.
                        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

                        • frank47
                          Member
                          • Jun 2003
                          • 88

                          #27
                          Thanx much. Except for the misunderstanding and the resulting wasted time, you have been a great help.
                          • Processing Complete
                          Status: Done

                          Thanx again m8

                          Comment

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

                            #28
                            Glad you got there in the end....
                            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

                            Working...