WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Moved to new VPS and now wordpress site doesn't work. :( (15 posts)

  1. swingburner
    Member
    Posted 1 year ago #

    I'm losing all hope... :(

    I had a VPS with websfusion running plesk 9. I recently moved to unlimitedwebhosting.co.uk and bought their dedicloud package running plesk 10.

    I made a backup from the old VPS through plesk and then restored it on the new VPS, again through plesk. All my other non-wordpress sites worked, however http://www.clubhq.co.uk did not load. When I went to the admin page, it was missing the screen.php file??? I then copied it manually from the old server and now the admin page loads.

    The homepage still does not load and just appears blank! :(

    Any ideas please!? Thank you! :)

  2. Abhishek Ghosh
    Member
    Posted 1 year ago #

    Do you have the full backup (MySQL plus FTP) ?

    Please visit this webpage, scroll down to the Downloads subheader and download the zip file to get a script for some info about your server, unzip it and upload to root of your FTP, so that we can see :

    http://www.clubhq.co.uk/foo.php

    Either you have done some wrong or the server is doing the wrong. I hope you have SSH access to root. Other sites are just HTML / PHP based sites or runs Joomla, Drupal or forum softwares ?

  3. swingburner
    Member
    Posted 1 year ago #

    hi, thanks for your reply. I've uploaded foo.php file now, so you can see it. I was told by my hosting company that a plesk backup would back up databases and files. Its strange that it missed off the screen.php file, but everything else seems to be there?

    All my other sites are basic HTML sites and they run fine.

    I appreciate your reply!

  4. Abhishek Ghosh
    Member
    Posted 1 year ago #

    Delete the foo.php (it is for checking, it is not very safe to keep there). Your output is here (same thing): http://dl.dropbox.com/u/24611920/foo.html

    Basically there is no problem with server to run WordPress:

    http://wordpress.org/about/requirements/

    Your server :

    [OK] PHP Version 5.3.17
    [OK] MySQL 5.1.59
    [OK] Mod Rewrite Enabled

  5. swingburner
    Member
    Posted 1 year ago #

    ok thanks... does it look ok? Any other advice to try and getting the site working?

  6. Max
    Member
    Posted 1 year ago #

    Can you check your error logs and php logs... there is usually a clue in there...

  7. Abhishek Ghosh
    Member
    Posted 1 year ago #

    So, server problem is ruled out. Next remains only your wrong doings. Do one thing :

    (I hope you have the backup of FTP and MySQL)

    1. Delete all files from FTP.
    2. Download a Fresh WordPress.
    3. Create a database and install it. (This is to double check if your server can run WP nicely).
    4. Go to PHPMyAdmin > that new database for WordPress > delete all tables and import your old WordPress sites tables.
    5. Only remaining are - the wp content folder on FTP and possibly .htaccess and robots.txt (if modified). Delete the new installation's wp content folder and upload your old backup's wp content folder .

    (Edit : Max basically posted when I was writing. It is good to check the error log file, there should be 500 errors).

  8. Abhishek Ghosh
    Member
    Posted 1 year ago #

    The header response is 301.

    Google has cache for you : http://webcache.googleusercontent.com/search?q=cache:qhDP-moxXssJ:clubhq.co.uk/%3Fp%3D148+&cd=2&hl=en&ct=clnk&gl=in&client=opera

    You have not used pretty urls / permalinks before.
    If there is any .htaccess file on ftp root, rename it to bak.htaccess

  9. swingburner
    Member
    Posted 1 year ago #

    ok... I've got a step closer... I deleted all the FTP data from the server and FTP'd it from the old vps to my local machine then to the new vps. the site now loads, but is missing certain site images such as the logo, etc... http://www.clubhq.co.uk

    Can you advise why / where these are missing and how to rectify it.

    Thank you...

  10. swingburner
    Member
    Posted 1 year ago #

    actually, I found 10 files that could not be transferred from the old VPS to my local machine... they are all same, just different TXT files:

    /httpdocs/wp-content/uploads/headway/cache/timthumb_int_17c643c96774b2bd7aafbcae064e4b80.timthumb.txt

    When I look on my file manager on plesk on the server, I cannot see these files, but on filezilla, they appear, I just can't download them??? Says critical error, operation not permitted. After inspecting the url for one of the missing images, it reverts to these text files?

    Any help appreciated. thanks.

  11. Max
    Member
    Posted 1 year ago #

    YOu can ignore the timthumb cache files, timthumb is a dynamic image resizer and it places copies of the images it has resized in a cache file, it will just remake them if they are missing.

    In fact you can probably just delete all the files from:

    /httpdocs/wp-content/uploads/headway/cache/

    A heads up, TimThumb has a vulnerability, make sure you have the latest one on your system, if you need it you can get it here http://www.binarymoon.co.uk/projects/timthumb/

    Onto your error: It seems headway is dynamically generating those images from images in your uploads directory. For the logo for example, make sure you have the file hq-web-banner6-1.jpg in wp-content/2012/ on your VPS...

    If that is missing, you may as well just copy your entire wp-content/uploads directory from your old host to your new one, as you have done above.

  12. swingburner
    Member
    Posted 1 year ago #

    thanks for your reply Max. I've deleted all the files from the cache folder. I've also checked and all the other images files are in the correct location. Any other ideas? thank you...

  13. Max
    Member
    Posted 1 year ago #

    I am looking at your site now - and it all seems to be OK? Did you get it fixed...

  14. Abhishek Ghosh
    Member
    Posted 1 year ago #

    It is loading, great !

    Max said very important point - timbthumb.php.
    Missing files are not really big problem, at least its loading fine.

  15. swingburner
    Member
    Posted 1 year ago #

    Hello... Yes, after copying everything via FTP from old VPS to new VPS, it took some time, but it eventually loaded! I don't know why the images didn't load, because now they do???? We've updated both wordpress and headway today and everything seems to work fine. Headway recommended backupbuddy for wordpress. I'm going to buy and install that on the server.

    Thanks for all the replies and advice! :)

Topic Closed

This topic has been closed to new replies.

About this Topic