- This topic has 5 replies, 2 voices, and was last updated 5 years, 1 month ago by Tom.
October 2, 2015 at 4:11 am #141426October 2, 2015 at 8:04 am #141467TomLead DeveloperLead Developer
I find that searching and replacing directly in the database can cause some issues sometimes – things can get corrupted.
Can you try using a plugin like this?: https://wordpress.org/plugins/duplicator/
It does everything for you, and should bring the Sections over without any issues.
Let me know 🙂October 2, 2015 at 8:52 am #141481Daniel Walker
Yes we tried Duplicator yesterday but we had to update the version of PHP running on the webserver so the installer.php script could run. (Unfortunately updating PHP actually broke our live website (oops), so after running the Duplicator installer we had to put PHP back down to 5.2.)
Anyway, the links didn’t get updated after installing with Duplicator either.
I’ll give Duplicator another try on Monday and let you know how it goes.
DanOctober 3, 2015 at 12:25 am #141599TomLead DeveloperLead Developer
That’s super weird – those errors you’re getting are because the page thinks it should be displaying Sections, but it can’t find the data in the database to display them, so it spits out those errors.
So somehow, certain data isn’t being pulled over in the database from one server to the other.
It could be a PHP thing (5.2 is old), but I doubt it. I’ve personally used Duplicator and BackupBuddy to move GP sites using Sections with no issue so far.
Let me know how it goes on Monday 🙂October 6, 2015 at 6:54 am #142297Daniel Walker
Hi Tom, I tried Duplicator again yesterday after updating PHP to 5.4 on the webserver and it worked much better this time. Just a few links here and there that didn’t get updated (e.g. links in footer widgets) but the site and page sections work – no PHP errors – so it’s all good.
DanOctober 6, 2015 at 9:53 am #142341
- You must be logged in to reply to this topic.