• Resolved luca76

    (@luca76)


    Hello,

    I used the plugin WP DB Migrate to migrate from a domain to another:

    https://www.dom1.com/directory -> https://www.dom2.com

    (see the transition from http->https and in the new site I removed “directory”)

    but the only thing not updated is the theme. If I see in the database there are still references from old site:

    "one_page_express_header_slideshow\";a:2:{i:0;a:1:{s:3:\"url\";s:112:\"https://www.dom1.com/directory/wp-content/themes/one-page-express/assets/images/home_page_header.jpg\";}i:1;a:1:{s:3:\"url\";

    unfortunately, updating the links “by hand” produces wrong results and wordpress refuses to load some images.

    How can I fix this? Can I debug theme errors?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @luca76,

    Sorry for the late reply.
    I think that plugin is not able to change url for nested items ( items in list )
    I suggest to manually set again the images for the slider in your live site.
    This will be easiest solution.

    Regards,
    Iulian Palade

    • This reply was modified 6 years, 11 months ago by yupal.
    Thread Starter luca76

    (@luca76)

    Thank you, @yupal

    With your method I fixed one problem. But I discovered another way to solve it. With a mysqldump, you see in the sql file strings in this form:

    ....;s:42:"STRING";...

    s:42 —> 42 is the length of the following string.

    So, changing the string isn’t sufficient, we must change the s:NUM according to the string size.

    • This reply was modified 6 years, 11 months ago by luca76.
    • This reply was modified 6 years, 11 months ago by luca76.
    • This reply was modified 6 years, 11 months ago by luca76.

    Hello,

    That is serialization of a php object. That’s why you need to update string length field too and it may cause when the object is deserialized.

    That’s why I suggested to manually edit the options that failed to be transfer directly in the customizer of the live site.

    Thread Starter luca76

    (@luca76)

    @yupal where is the customizer of the live site?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help with migration with theme One Page Express’ is closed to new replies.