• liamsmythe

    (@liamsmythe)


    Hello,

    I had the task of completely revamping a website for a client, their wordpress site needed a new theme and some new styling to bring it up to date, so i downloaded everything (the site, database, etc) and that was fine, I’ve spent quite a lot of time doing this and now the new site is running really well offline in my localhost.
    There is a blog section and news section on the site, and the people that own the site have continued posting, so i need to export the posts and import them to my local one before uploading it to the web.

    Export is fine, but when i import, it seems to be fine, but then i get the message saying things have changed so i need to update the database, i click the update button and then i get a screen saying “you do not have sufficient permissions to access this page” and if i try to go to the site, its just a white blank screen.

    Any help would be greatly appreciated,

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter liamsmythe

    (@liamsmythe)

    Oh i forgot to add, when i finished the site, i exported the whole mysql database just in case a problem occurred, and to get the site running again, i need to reupload that, but that obviously gets rid of the brand new posts from the live site

    vtxyzzy

    (@vtxyzzy)

    When you move a site, you must replace the old URLs and paths with the new ones. Some of these are stored in the database in ‘serialized’ form where the string length is stored along with the string. You must use special tools to search and replace the old values with the new ones.

    If you replace an old URL with a new one of a different length, it will break the serialization, causing many different problems.

    If the old site is still available, you can use the steps shown in this article to copy the site: http://wordpress.mcdspot.com/2012/08/22/migrating-a-wordpress-site-step-by-step/

    If the old site is not available, and you still have a copy of the database from that site, you should be able to use this tool to make the changes: http://interconnectit.com/products/search-and-replace-for-wordpress-databases/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress site breaks after using import’ is closed to new replies.