Announcement

Collapse
No announcement yet.

Move to new server results in blank pages

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

  • Move to new server results in blank pages

    I am in the process of moving my website from a shared server to a dedicated server. I did a backup of the database and dumped it to mysql on the new server. I gzip'd the forum directory on the old server and unzippled it directly on the new server. I checked permissions on both servers and file permissions match. I also checked and no blank spaces before the <?php or after the ?> in the config.php file. I try and access the forums and the pages come up blank. I can access the /admincp/ but when I enter my username and password im back at forum root at login.php with a blank page.

    I tested the possibility that it could not access the db so I deliberately gave the config.php the wrong password and I got the DB error that I would expect to get from vbulletin.

    At the old location I access the forums like this...
    http://forum.mydomain.com/

    at the new domain its
    http://1.2.3.4/forum/

    What do you suspect is the problem and how can I fix it?
    UT Gaming Community - http://www.unrealghetto.com

  • #2
    The blank page issue would also happen if one or more of the other php files were not downloaded and uploaded in ASCII.

    As for the Admin CP login, the most likely problem is that you had a cookie domain and/or path setting that is not compatible with the new server info. Try this script:

    http://www.vbulletin.com/forum/showt...257#post486257
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Since the contents of the forums on the old machine were directly gzip'd on the machine and then ftp'd over to the new machine where it was unzipped it seems that the files should be in their original format. And I also just did a re dump of the database using mysqldump instead of phpmyadmin just to make sure and nothing changed.
      UT Gaming Community - http://www.unrealghetto.com

      Comment


      • #4
        Also... the fix_login.php script did not solve the admincp problem.
        UT Gaming Community - http://www.unrealghetto.com

        Comment


        • #5
          Sorry then. The only other thing I can think of is that the backup and/or the restore of the database was bad. If the files are exactly the same and the database is exactly the same, then the blank page issue wouldn't be happening.
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment


          • #6
            Are there any known issues with PHP4.3.4 and vBulletin3.0.0RC2?
            UT Gaming Community - http://www.unrealghetto.com

            Comment


            • #7
              None at all. It should work just fine.
              Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
              Change CKEditor Colors to Match Style (for 4.1.4 and above)

              Steve Machol Photography


              Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


              Comment


              • #8
                Ok... what can I do to determine whether it is a DB dump error which I do not believe it is versus an error with PHP or Apache or something else? I've done many dumps with mysql and never once had a problem yet in the past I've noticed strange happenings when using some of the newer phps and apaches. Being face with the possibility of a bad db dump and conflicts with php & apache it makes debugging this a monster. Could you check my phpinfo and see if you see anything that strikes you as odd or wrong?

                http://69.93.229.195/phpinfo.php
                UT Gaming Community - http://www.unrealghetto.com

                Comment


                • #9
                  If it were a PHP or Apache problem, I would think that blank pages would occur on all php pages, not just some of them. Since you don't have this problem with the Admin CP or phpinfo.php, that would seem to rule those out as a cause.

                  Have you looked at the database with phpMyAdmin to make sure all the tables are there?
                  Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                  Change CKEditor Colors to Match Style (for 4.1.4 and above)

                  Steve Machol Photography


                  Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                  Comment


                  • #10
                    I checked both servers and both show 83 tables.
                    UT Gaming Community - http://www.unrealghetto.com

                    Comment


                    • #11
                      I'm out of ideas then. I have no idea why this would be happening.
                      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                      Change CKEditor Colors to Match Style (for 4.1.4 and above)

                      Steve Machol Photography


                      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                      Comment


                      • #12
                        And no known problems when using Apache 2.0.48 and PHP4.3.4? I am going to try two steps on this server. I am going to roll back to PHP4.3.3 because I can verify that it works on that server because I know someone that runs vBulletin on 4.3.3. If that doesn't work then I will try and roll apache back to a much older version. My guess is that one of those changes will solve the problem.
                        UT Gaming Community - http://www.unrealghetto.com

                        Comment


                        • #13
                          Ok.... I have changed php to version 4.3.3. I have changed apache to 1.3.29. Nothing works. I have upgraded to RC4. That didn't work. I wiped everything out and installed from scratch. That worked. But why? I upgraded my existing forums to RC4 and dumped the database using the backup tool that comes with vBulletin. I then ftp'd the .sql file from the old server to the new server is ASCII mode which is the correct mode for a .sql file and I dumped it into the new DB. I refreshed the screen and what did I get? blank again. Now I was alerted by a friend of mine that vBulletin uses some tricks to protect itself from being copied. Is this what is keeping me from moving over to a new machine before my domain transfers over?
                          UT Gaming Community - http://www.unrealghetto.com

                          Comment


                          • #14
                            I've tried the last 2 possible tricks I could think of to get the DB from point A to point B. One was to gzip the actual mysql data dir and restore it on the new server. Once I did that I was able to connect via mysql and work with the data with no problem. Once again vBulletin wouldn't run. I even tried a direct mysqldump from one mysql server to another mysql server. Exact same results. vBulletin doesn't work. Absolute only time I get vBulletin to work is when I wipe the database and run a clean install. Nothing I do seems to get the data from the other site working on the new site. I am really open to suggestions as to how I am going to pull this off. I want to verify my forums are working before I update my domain name.
                            UT Gaming Community - http://www.unrealghetto.com

                            Comment


                            • #15
                              At the old location I access the forums like this...
                              http://forum.mydomain.com/

                              at the new domain its
                              http://1.2.3.4/forum/
                              You need to manually go through your db and change the instances where it refers to your domain then, since you are already setup for it.

                              I had to do this myself when switching servers. Use phpmyadmins search function, it doesn't take too long.

                              Hope that points you in the right direction.

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X