Wordpress cloning failures | Page 2 | Wordpress Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_Feed Topic RSSsp_TopicIcon
Wordpress cloning failures
October 31, 2010
10:32 pm
Avatar
alex
Member
Members
Forum Posts: 12
Member Since:
October 21, 2010
sp_UserOfflineSmall Offline

Well I can tentatively say the problem may be partly solved, although I'm still totally clueless.

Following direction from http://edwardkhoo.co.....ress-blog/ I pasted this incomprehensible text into the empty .htaccess file in my wp site's root directory:

# BEGIN WordPress

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

# END WordPress

Amazingly the front end seems to work now—one can click through to post pages and category pages without receiving any errors. —And that odd double-slash in the urls has been replaced by a comforting single slash.

However there's still something screwy in the admin panels. Logging in is still only possible by going directly to /wp-login and that means that wp tools that require login confirmation (like Backup DB for example) seem to be unusable because one gets stuck in an endless loop of login redirects as before. Also, feeding my supersticious nature: the suspicious double-slash in the url persists on the admin pages.

October 31, 2010
10:50 pm
Avatar
alex
Member
Members
Forum Posts: 12
Member Since:
October 21, 2010
sp_UserOfflineSmall Offline

I'm also finding that I can't change my wp general settings. when I press "save changes" the browser is directed to http://wp-admin/opti.....dated=true —so for some reason wp is leaving the actual website domain out of the url and of course that results in "Server not found Firefox can't find the server at wp-admin."

November 1, 2010
7:48 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Indeed, the .htaccess being blank would explain all the issues, so make sure next time on restore to delete that files also, so the original one is properly restored!

As for the url issue, can you check if your wp-config.php file has thos line in it 

 

define('RELOCATE',true);

as well as

 

define('WP_SITEURL','http://siteurl');

define('WP_HOME','http://siteurl');

 

if not, then please add it, and retry again the login process and settings saving!

 

Regards, Ovidiu

November 1, 2010
7:46 pm
Avatar
alex
Member
Members
Forum Posts: 12
Member Since:
October 21, 2010
sp_UserOfflineSmall Offline

Those lines were indeed already present within the wp-config.php file.

I've tested the wp admin panels on the clone some more and for some reason it seems as though it may be working properly now. The urls seem to be resolving correctly. But I've encountered so many problems that I now have serious doubts about the stability of this cloned wp install. I guess I'll run with it for a few days and see if anything gets buggy again.

It would be great if the plugin were working smoothly, but it seems like it would have been easier, quicker and more reliable to migrate everything via ftp and just do a find/replace to correct any urls in the database.

I've been trying another wp backup plugin called myeasybackup and that one actually fared much worse. Despite lots of troubleshooting it has yet to even generate a backup archive, let alone actually restore one! So I guess backing up wp sites isn't quite as straightforward as one might expect!

November 1, 2010
8:14 pm
Avatar
alex
Member
Members
Forum Posts: 12
Member Since:
October 21, 2010
sp_UserOfflineSmall Offline

Oops, looks like i spoke too soon.

The reason the clone appeared to be working is that I had actually logged in to the original site by accident (and that one works fine). After returning to the clone I'm finding the problems persist, so i'm pretty much ready to through in the towel and just do a clean wp install.

November 1, 2010
8:27 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Each wordpress site has it's own particularities when restoring, depending on the hosting environment and specially the third party plugins installed. XCloner does update the main Wordpress settings, but if the plugins use hard coded paths, then you might need to adjust them manually.

 

Anyway, if you like, we do offer Premium Support and we could help you further with the restore to see what the actual issue is, we could try the restore again on a clean location and see what the output is. I am pretty sure we can find the issue faster this way.

 

Regards, Ovidiu

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Omar Vera
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0