Jump to content
Sign in to follow this  
rolhuy

Moving a StationPro website. Error: all custom sidebar widgets have disappeared.

Recommended Posts

rolhuy

Versions: WordPress V2.9.2 StationPro V2.1.1 Hi, I have moved for the 1st time a website from a development instance to a test instance. But the widgets on the sidebar are no longer there on the target system. The website is running fine generally speaking, except for these widgets. See for yourself: Source system: http://www.infozine.be/ Target system: http://www.zonnepanelenwijzer.be/ I have followed the "StationPro standard procedure" to do this, e.g. backup the options and features to the database, transfer files and database, reactivate the theme, restore the options and features from database. Just moving the files and opening Wordpress Admin is not enough, in this case the options and features are gone. I cannot upgrade to a newer version of Station Pro for this website (although i haver bought SP3 and PP a while back). Thanks for your help! Rolf.

Share this post


Link to post
Share on other sites
bryan-hadaway

Have you tried manually re-adding the sidebar widgets? Thanks, Bryan

Share this post


Link to post
Share on other sites
rolhuy

I have just tried to add them manually, and that works fine. But... I prefer that the migration process does that automagically without me having to check and eventually update every setting in the system. Any suggestions?

Share this post


Link to post
Share on other sites
rolhuy

FYI Only the widgets of the sidebars main_sidebar and footer_right disappeared after the migration. For example, the footer_left and secondary-sidebar did work from the start...

Share this post


Link to post
Share on other sites
bryan-hadaway

I've done many migrations myself and the one thing I've learned is that it never goes down perfectly, there are simply too many variables; WordPress, theme, plugins, widgets, options, the database. You can only do your best and then correct any problems that may arise. What I've personally started doing is building a WordPress site in it's final destination already and just hiding from search engines until complete. You could even go one step further and use an "Under Construction" plugin. Just some helpful reference for future projects. Thanks, Bryan

Share this post


Link to post
Share on other sites
rolhuy

Okay, good to know. Indeed, I experienced already that cForms is a "tough one" to move to a new system & domain but that one is working now. FYI Some interesting Mysql stuff: select * from wp_options WHERE option_value like '%infozine.be%'; UPDATE wp_options SET option_value = replace(option_value, 'http://www.infozine.be','>http://www.infozine.be', 'http://www.zonnepanelenwijzer.be''>http://www.zonnepanelenwijzer.be') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_options SET option_value = replace(option_value, 'infozine.be', 'zonnepanelenwijzer.be') WHERE option_name = 'admin_email'; UPDATE wp_options SET option_value = replace(option_value, 'www.infozine.be', 'www.zonnepanelenwijzer.be') WHERE option_name = 'poll_archive_url'; UPDATE wp_posts SET guid = replace(guid, 'http://www.infozine.be','>http://www.infozine.be','http://www.zonnepanelenwijzer.be''>http://www.zonnepanelenwijzer.be'); UPDATE wp_posts SET post_content = replace(post_content, 'http://www.infozine.be','>http://www.infozine.be', 'http://www.zonnepanelenwijzer.be''>http://www.zonnepanelenwijzer.be'); UPDATE wp_options SET option_value = replace(option_value, 'www.infozine.be', 'www.zonnepanelenwijzer.be') WHERE option_name = 'option_name lightbox_2_theme_path'; select * from wp_options WHERE option_value like '%infozine.be%'; select * from wp_options WHERE option_value like '%zonnepanelenwijzer.be%'; ----- 1. Do these migration issues arise as well when migrating a website to a new host but keeping the same domain, assuming that the paths on the filesystem are the same? I assume not. 2. Is the combination Wordpress 3 and StationPro 3 any better than the versions I'm using in this context?

Share this post


Link to post
Share on other sites
bryan-hadaway

I'm sure you've visited: http://codex.wordpress.org/Moving_WordPress Also, there is an import/export function that WordPress supports: Tools > Import/Export I think many people over simplify the WordPress migration. I think if you had a fresh install with WordPress' default template and made no changes whatsoever it might be smooth, but it'll never happen that way. There are just way too many variables to humanly know, and yes moving from one server to another can have crazy effects. I recommend a Linux/cPanel/PHP5 combo server over anything. If it has those 3 it should be golden. Some may disagree, but I still think building the website in the right place in the first place is the best option. I suppose that might not work for some because they want to ensure that they get paid before handing over work. Thanks, Bryan

Share this post


Link to post
Share on other sites
rolhuy

Thanks for the information Bryan! This was my 4th try to migrate the website. I restarted from scratch each time an error came up; to make sure the process was full proof. > I recommend a Linux/cPanel/PHP5 combo server over anything. If it has those 3 it should be golden. I'm using a Linux/Plesk/PHP5 Webhost and that works fine too. Keep up the good work at PageLines.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×