• I did a website by wp with ” Mantra ” layout. This layout allows a presentation page. When I moved my website fro local to net I had the exact copy, exept the presentation page. I ‘m almost sure it is a problem of serialization but I don’t know where to go to do the changements. Can you help me, please?

Viewing 15 replies - 1 through 15 (of 16 total)
  • Did you follow the instructions in Moving_WordPress?

    Thread Starter beater72

    (@beater72)

    Thanks, Esmi, I did. What is very curious is that if the name of the site in local ( including localhost/ ) is made by the same number of letters than the name of the destination domain, than everything works. That’s why I’m almost sure it is a problem serialization.

    Example: if I move localhost/trometaxi.com ( 23 carachters ) to the domain https://www.lowcostrometaxi.com ( 23 carachters ) than I have the exact copy.

    I guess that when you start to built a new site, wordpress sets somewhere the number of the caracthers for its folders using the first name you give to your website.

    What do you think about it?

    WP does store many of its options in serialized arrays – some of which may include the current url or domain name. Did you run the search & replace database script on the complete db backup before uploading it? Or did you just run a search & replace on the wp_posts table?

    Thread Starter beater72

    (@beater72)

    Well, I’m a beginner with wordpress and not very experienced with computers in general.
    Though, I exported the database using the export function of phpmyadmin. Then I got the file I obtained from this exportation and did search and replace using Notepad Plus.

    I guess this means doing search and replace of the complete db backup.

    Thread Starter beater72

    (@beater72)

    At this point, one question come spontaneously to me: are this serialize options all wrote in a specific folder so that I can find the part that regards the presentation page?

    In order to understand better wp, can you suggest me a post where I can understand how all the wordpress content is store, please?

    did search and replace using Notepad Plus.

    No – that won’t work.

    If you do a search and replace on your entire database to change the URLs, you can cause issues with data serialization, due to the fact that some themes and widgets store values with the length of your URL marked. When this changes, things break. To avoid that serialization issue, you have two options:

    1. Only perform a search and replace on the wp_posts table.
    2. Use the Search and Replace for WordPress Databases Script to safely change all instances. ( If you are a developer, use this option. It is a one step process as opposed to the 15-step procedure below)
    Thread Starter beater72

    (@beater72)

    Thank you very much, Esmi. The fog surround me is fading.

    The wp_posts table is one table of the entire db, right?

    The wp_posts table is one table of the entire db, right?

    Yes. ??

    Thread Starter beater72

    (@beater72)

    Thanks a lot, Esmi. I’ll let you know..
    Have a nice day

    Thread Starter beater72

    (@beater72)

    Hi Esmi, I just finished to try your system.
    I cancelled all the tables from the db and importated again except the wp_posts one.
    Instead, I opened the wp_posts one with notepad and did the search and replace. After that, I imported the changed and replace table wp_posts in the db but I get a message from mysql that says:

    #1062 – Duplicate entry ‘3170’ for key ‘PRIMARY’

    ..and failed the import.

    what does it mean?

    Thread Starter beater72

    (@beater72)

    Emi I also did the search and replace using Notepad plus, becuse I didn’t understand how to install and use the one you suggested..can you explain plese?..Moreover, what does the search and replace you suggested offer more than Notepad plus?

    Thanks in advance

    what does it mean?

    Sounds like you made a mistake with one of the replacements. The other search & replace script I suggested above removed the need for the other 15 steps that you have to carry out if you opt for the wp_posts table only method.

    Please see Moving_WordPress.

    Thread Starter beater72

    (@beater72)

    Esmi English is not my natural language and as i told you I m not very skill with computers. It is very probably that even though I would translate well what I read, I will find many technical words I will not understand.

    That is why I ask you a further effort, please.

    I had a look at Moving_wordpress and saw there are many sections. Is there a specific section that talks about our discussion? Where are this 15 steps mentioned?

    Above, were you trying to tell me that if I use notepad I have to do another 14 steps?

    The mistake in the replacement was done by Notepad Plus, right?

    You need to read this entire section.

    Thread Starter beater72

    (@beater72)

    Thanks Esmi. I red the section and I undestand more now.

    I go to try the search and replace suggested from wordpress as soon as I can and see what happens.

    Just in name of the knowledge, I tell you that before meeting you I did my trials migrating a site from the net to local and the opposite, just reducing or increasing the number of the carachters of the name of the website name in order to match the names of the two websites in their number of caracthers.
    This way worked very well, and I did any of the 14 steps remained.

    As soon as I have some new, I’ll let you know

    Thanks

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Can't find the places where the serialization is applied’ is closed to new replies.