• Dear all, I’m a fan of WordPress, running my blog by wordpress and use it as content management system to manage my documents on my mac ibook os10.3 at home and also on my windows pro at office. I need to get documents at office into my wp at my ibook at home, but found it was too frustrating to get it done.

    At office i use mysql 4.0 on xp pro for language reason, and use mysql 4.1 on ibook, i tried phpmyadmin to export database and also tried one click plugin, but always error when importing database file. Is there anyway simple like copying the whole wp folder and other content to another computer and get it work?

    There are other wiki like docwiki based on txt or html to store data, and just needs to copy the whole thing to home and work. but they are not attractive towards category classification or nice plug-in. Really want to stick with wordpress to be my cms. needs your suggestion. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • What errors do you get when importing? Are all those WP installs the same version?

    Thread Starter aprkite

    (@aprkite)

    Hi, here is the error when i import. What i did is to create a new empty database on my ibook and import the database backuped from xp pro wordpress,same wordpress version. Then i run upgrade, here is:

    Warning: Invalid argument supplied for foreach() in
    /Library/Webserver/documents/wordpress/wp-admin/upgrade-functions.php on line 30

    Warning: Invalid argument supplied for foreach() in
    /Library/Webserver/documents/wordpress/wp-admin/upgrade-functions.php on line 88

    Warning: Invalid argument supplied for foreach() in
    /Library/Webserver/documents/wordpress/wp-admin/upgrade-functions.php on line 96

    Then it fails

    Did the import succeed? Then you are ready, isn’t it? No need to run upgrade, as far as I can see. That is only needed when a WP version upgrade asks for it. Have you tried just importing (into the emptied blog) and opening your blog?

    Regards,

    Karel

    Thread Starter aprkite

    (@aprkite)

    Yes, I tried, but cannot work. I create a new empty database, then import the backuped database which was created by phpmyadmin. If I didn’t run anything like upgrade or install.php, i opened my blog and find it was just blank without any indication what’s going on.

    I searched this forum and found the error occured to two users, they finally resolved it by both saying sth wrong with wp-config.php, but they didnt say what it is. it’s a shame.

    There’s really only a couple of things that can be wrong with the config file though. Usually the user name and password to the database.

    I suspect you are exporting only the DATA (and not DATA & STRUCTURE) and putting it an “empty” database – doesn’t work.
    You can try 2 things:
    1. Export both Data and Structure and and try importing that file.
    2. If you export only the Data, then in the new place you should have the tables, they just have to be empty.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Trouble of using WP as content management system’ is closed to new replies.