WordPress.org

Ready to get started?Download WordPress

Forums

Admin Menu Editor
Lost modified when I export and import DB (5 posts)

  1. claudiob
    Member
    Posted 6 months ago #

    When I export and import DB, lost all menu's modified.
    Has anyone found the solution?

    thank you

    https://wordpress.org/plugins/admin-menu-editor/

  2. Janis Elsts
    Member
    Plugin Author

    Posted 6 months ago #

    I'm guessing that you modified the database data when importing it. For example, one thing that tends to cause problems when migrating the DB to a new host/domain is that blindly replacing the old site URL with the new URL will corrupt any DB entries that store PHP serialized strings.

    The solution is to use a search & replace tool that is aware of PHP serialized strings and won't damage them. Here's one such tool.

  3. claudiob
    Member
    Posted 6 months ago #

    Hi Janis, thank you for help me :)

    Before of import DB in new host/domain I have replaced localhost with http://www.mysite.com

    example:

    before my url is : http://localhost/test

    after my url is : http://www.mysite.com/test

    But the problem it's same.

  4. Janis Elsts
    Member
    Plugin Author

    Posted 6 months ago #

    As I said, replacing the URL is most likely the source of the problem. If you replace it in the DB without adjusting serialized string lengths, it will corrupt plugin settings. What tool did you use to replace the URL?

  5. claudiob
    Member
    Posted 6 months ago #

    No I haven't used plugin for replace, but the search and replace with notepad.
    I'll try with plugin and I'll tell you.

    thank you

Reply

You must log in to post.

About this Plugin

About this Topic