• Resolved nburmandesign

    (@nburmandesign)


    I had (have) a blog hosted on my own (as in one I use for business) server. The server was unreliable, so I transferred my website to another server.
    I backed up and copied over all blog files, and the blog seems to be running, albeit without the theme, which I’m sure I can fix later.
    At the moment, I can’t login to post anything. I had to install wordpress on the new server, and got a new login/password. Now I can’t access my blog from ww.wp.xz.cn.
    My server uses CPanel.
    Anyone know how to fix this?
    Any and all help appreciated… thanks!

    ~Nick

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter nburmandesign

    (@nburmandesign)

    I think I got to the wp login, by clicking on an Edit link, but when I try to go to :
    http://nburmandesign.com/blog/wp-admin/
    I get this error message:
    ________________________________________
    Warning: main(/home/nburmand/public_html/blog/wp-includes/vars.php) [function.main]: failed to open stream: No such file or directory in /home/nburmand/public_html/blog/wp-settings.php on line 227

    Warning: main(/home/nburmand/public_html/blog/wp-includes/vars.php) [function.main]: failed to open stream: No such file or directory in /home/nburmand/public_html/blog/wp-settings.php on line 227

    Fatal error: main() [function.require]: Failed opening required ‘/home/nburmand/public_html/blog/wp-includes/vars.php’ (include_path=’.:/usr/php4/lib/php:/usr/local/php4/lib/php’) in /home/nburmand/public_html/blog/wp-settings.php on line 227
    _________________________________________________________________
    What did I do? !!!

    failed to open stream:
    That one always refers to missing files/folders.
    This file is NOT there:
    …blog/wp-includes/vars.php

    Did you read by any chance the documentation before mi=oving servers?
    Moving_WordPress

    Thread Starter nburmandesign

    (@nburmandesign)

    Moshu – thanks for the link. No I havent checked that page – but I will 😀

    (crossing fingers)

    ~Nick

    Thread Starter nburmandesign

    (@nburmandesign)

    I followed this part of the instructions:

    If You Don’t Care If Your Old Blog Works

    Download a copy of the main wordpress files from your OLD blog to your hard drive and edit wp-config.php to suit the new server.
    the password appears to be encrypted, or is it meant to be gobbledy gook? Is it possible to change that, because that is not a password I have ever typed anywhere!

    Go back to your OLD blog and go to options and change the url (both of them) to that of your new site.
    The new url is the same as the old one, no changes there

    Again, download your database (but keep the old one just in case), upload this new database and the copy of the wordpress core files with the edited wp-config.php to your new server. Thats it!
    I copied the entire /blog folder over, and did a PhpMyAdmin restore with the backed up wrdp1 database. Is that it?

    the password appears to be encrypted
    You mean in the wp-config.php file?
    Never seen anything like that!
    Be aware, that is the password for the database user to access the database – usually, you DON’T type that anywhere because you don’t need it!

    Is that it
    Does it work?

    Thread Starter nburmandesign

    (@nburmandesign)

    no, it doesn’t. I’m really at my wit’s end.
    I tried removing the WP installation and starting again.

    AFAIK, I have the databases backed up and all the blog files> I’m just not sure in which order I should install WP on the new server. Do I use Backup Restore in Cpanel to restore, or PhpMyAdmin, or MySQL? Should I have to change the permissions if I ftp the new files over?
    I’m really at a loss here.

    You do not FTP new files, but the old ones!
    You use the phpmyadmin.

    You shouldn’t have installed anything in the new location: or if you did, it has to be the same version as the old one for the DB compatibility. After the move you can do an upgrade.

    Thread Starter nburmandesign

    (@nburmandesign)

    Ok! I deleted the old install, ftp’d the OLD files (!) back to the server and tried to import the database using phpmyadmin. I then get this error, each time –

    Error
    SQL query:


    — Table structure for table wp_bad_behavior

    DROP TABLE IF EXISTS wp_bad_behavior ;

    MySQL said:

    #1046 – No database selected

    __________

    Man, you shouldn’t export/import the BB tables. They just make your exp/imp file big. (If you reinstall the plugin in the new location, it will create its own database)

    Can you just get another database backup (export) from the old location? And exporting the data+structure only for the WP tables?

    Thread Starter nburmandesign

    (@nburmandesign)

    i tried doing that, but my host has deleted the old files. I guess I’m SOL. Time to build another blog 🙂

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘transferring to another server’ is closed to new replies.