• Resolved henry88g

    (@henry88g)


    When I copy a working website to a staging URL, the content of the service boxes does not display. It is not in the source code of the displayed page. The <style></style> section is there, but none of the content.

    ‘All Service Box’ shows all of my service boxes, with shortcode numbers, but if I try to edit one, it is empty; there are no individual items in it.

    If I re-enter information and save, the newly-entered information displays fine, and is then shown in the source code.

    The database for the staging site is simply that exported from the working site with changed URLs. The correct content from all the copied service boxes appears in _postmeta tables as wpsm_servicebox_data. (not in _posts, where I would have expected it to be).

    This situation applies also to Team Builder plugin.

    Any suggestions gratefully received.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter henry88g

    (@henry88g)

    Further to above – I’m ok now with the data being in _postmeta – didn’t understand before. Cutting and pasting the data from original site database to staging site database made it all work, but I don’t think I should have to do that.

    So – still hoping for suggestions.

    Thread Starter henry88g

    (@henry88g)

    Ok, I got something else wrong – the wpsm_servicebox_data was NOT imported into the staging site database. All the other wpsm_servicebox tables were imported.

    Maybe there is a log I can check.

    Again, this behaviour is different from other plugins, all of which worked first time in the staging site.

    ??

    Praveen

    (@praveenmalav09)

    Hi @henry88g,

    Please share your website URL so we can resolve your issue.

    Thanks

    Thread Starter henry88g

    (@henry88g)

    Thanks for your note, Praveen. I’ve now copied over the missing data directly into the database, and so the site is ok now.

    The site is not meant for the public – just myself and my client – but, for what it’s worth, you can look at https://goldstein88r.no-ip.org/site4/FF/ You’ll find the Services and Team material towards the bottom of the landing page. There are service boxes on a number of other pages – 5 in all, and the Team shortcode is used in two places on the site.

    That site is a copy of https://goldstein88r.no-ip.org/site4 – I am practicing copying sites. Everything worked first time after copying and adjusting URLs, except for the Team and Servicebox data.

    I will experiment with exporting and re-importing just the rows involved and let you know what happens. It was only the individual wpsm_servicebox_data (one row per service box) in the _postmeta table that was blank after importing the whole database. All the other rows seem to be ok after import. The Servicebox plugin knew about the shortcodes, it just didn’t have any data.

    Thanks again for responding.

    Thread Starter henry88g

    (@henry88g)

    OK – Using phpmyadmin, I’ve exported just the rows relating to one of the service boxes, changed the wordpress prefix (from wps4_ to fred_) and imported them into the same database. All the data is there for all the rows.

    So, although why rows were empty when I imported all of a database remains a mystery, let’s call the matter resolved for the moment. I know that I can copy my site and fix any anomalies if needed. As and when I get further insight or clarity into the situation, I’ll re-open the discussion.

    If anything comes to your mind, please let me know, too.

    Regards,
    Henry

    Praveen

    (@praveenmalav09)

    Hi @henry88g,

    Glad that your issue has been resolved if you like our plugin please rate us.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Content missing after migration’ is closed to new replies.