Support » Plugin: Admin Menu Editor » Lost modified when I export and import DB

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    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.

    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.

    Plugin Author Janis Elsts

    (@whiteshadow)

    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?

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Lost modified when I export and import DB’ is closed to new replies.