• Resolved chrissewa

    (@chrissewa)


    Hi,
    i worked with your plugin for a while now and absolutely love it.

    Recently though, i had the same problem everytime i duplicate a Website from my local environment to my Server.
    Everything works fine, no errors or warnings occur and the duplicated site looks right. Everything is where it should be.

    Maybe i should add, i develop a custom theme for every website i make. Usually on every page i have a custom template which requests the content of wordpress posts and pages to embed it somewhere on the page.

    So everything is fine, the content gets displayed where it should, with one minor problem, the german umlaut characters (ö, ä ü) won’t get displayed.

    But the main problem is in the wordpress backend:
    A lot of pages and posts appear to be empty.
    It’s not even all of them, just most of them. And some of them additionally don’t have a title anymore.
    Their content has to be in the database, because the site calls it through the page/post_ID, but it doesn’t get displayed in the Editor.
    If i refresh the editor now, the content gets deleted from the db, because now the page really is empty.

    Do you have any idea why this happens? Just a few weeks back, everything worked great, but right now, i have to copy & paste nearly every post and page from one site to the other.

    Sorry for the long post, i just wanted to give you as much information about the problem as possible.

    Chris

    https://wordpress.org/plugins/duplicator/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter chrissewa

    (@chrissewa)

    Any Ideas? 🙁

    You might checkout this thread if your running into character encoding issues… https://wordpress.org/support/topic/duplicator-creates-a-new-install-not-a-duplicate?replies=18#post-6960005

    There are also a small section on the FAQ that has some links that may help, character encoding issues can be difficult to track down and isolate.

    Thread Starter chrissewa

    (@chrissewa)

    Thank you very much for your help!
    I could fix my problem with the help of the link you provided.

    If anyone else runs into the same problem, here’s what i did:
    1.) Change every character set in the database.sql in my archive from ‘utf8mb4’ to ‘utf8’
    2.) Change the charset in my wp-config.php to utf8

    If that doesn’t help, take a look at the link provided by Cory Lamie, there are other solutions too.

    Thank you for the support, Cory!

    Thread Starter chrissewa

    (@chrissewa)

    Just a quick Update:

    If your server is able to handle ‘utf8mb4’ (this seems to be an existing problem), you can change the charset settings in the advanced settings of the installer.php screen to ‘utf8mb4’. No need to go through the whole database then.

    Hey Chrissewa,

    Thanks for the update! Please note to other users reading the thread, this works “If your server is able to handle it”… If your on an old MySQL version it may not work…

    Cheers~

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Empty Post and Page Editor after Duplication’ is closed to new replies.