Wordpress cloning failures | 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 RSS sp_TopicIcon
Wordpress cloning failures
October 30, 2010
11:29 pm
Avatar
alex
Member
Members
Forum Posts: 12
Member Since:
October 21, 2010
sp_UserOfflineSmall Offline

I'm having some real problems  getting this cloner to work. I'm trying to clone an existing site to a new URL, but there's problems at every step of the way. Am i missing something integral to this whole process?

Automatic cloning from within the admin panel failed.
So i copied the tar archive via ftp to the new URL directory and ran XCloner.php from the new location, selecting "Install files throught ftp: - incremental transfer".
During the transfer many error messages went by citing transfer fails but in the end XCloner said the files were successfully transferred. However, clicking to "continue with database import" resulted in an error message saying "unable to read database backup file" and "database not transferred". "
Inspection via my ftp client revealed that directory folders had been transferred but they were all empty—it seemed no files had been transferred.
I erased the directory structure and ran XCloner.php again, this time selecting"Install files directly".
This time everything seemed OK, no error messages, but upon clicking through to the site the homepage said "Not Found. Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post." So it appears the database wasn't correctly transferred.
Trying to access wp-admin yielded the message "Cannot read /mnt/w0501/d45/s17/b02c59fa/www/wordsandpictures.info/wp-admin/.htaccess"
Any ideas?

thanks--alex

October 31, 2010
9:14 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi there! I would advise first to clear the restore location first of all files except the restore script and backup archive(also use an empty database), then retry the "Install files directly" restore option again. Also, make sure the disk space available is at least double the backup size.

 

Let me know if you have further issues! Ovidiu

October 31, 2010
4:52 pm
Avatar
Timothy
Rome, Italy
Member
Members
Forum Posts: 3
Member Since:
October 31, 2010
sp_UserOfflineSmall Offline

XCloner! Support said:

Hi there! I would advise first to clear the restore location first of all files except the restore script and backup archive(also use an empty database), then retry the "Install files directly" restore option again. Also, make sure the disk space available is at least double the backup size.

 

Let me know if you have further issues! Ovidiu

Hi Ovidiu,

Where exactly is restore script located?  Are you talking about the two in the "restore" directory?  (XCloner.php and TAR.php?)

Please advise. 

Thanks,

Tim


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

Timothy, I had a similar problem finding those files because the XCloner documentation appears to be incorrect.

The docs say "Download TAR.php and XCloner.php to your computer from the /administrator/components/com_xcloner/restore folder"; but in reality those php files seem to reside here: plugins/xcloner-backup-and-restore/restore/

Other than that the documentation seems pretty accurate though.

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

Thanks Ovidiu!

I will try that again. It takes my ftp client a long time to delete all those directories and files, so I might hold off on it for a bit. In fact, it seems crazy how it takes—the client goes into each directory and deletes the files one by one. Maybe if i was more skilled with terminal there would be a quicker.

October 31, 2010
5:48 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Alex, you are right, there is a small discrepancy in the docs as we used the Joomla folder structure to point that out, thanks for clarifying this, i will look into getting that fixed.

 

So, for Wordpress, the restore script is located in the plugins/xcloner-backup-and-restore/restore/ directory if you are to get them from the main package, or wp-content/plugins/xcloner-backup-and-restore/restore/ directory from the original wordpress site

 

Cheers, Ovidiu

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

Hi Ovidiu,

I cleaned out that directory and the database and tried a new "install files directly" restore, but there still seems to be a db problem. The homepage appears but again, instead of showing any content it says "Not Found. Apologies, but no results were found for the
requested archive. Perhaps searching will help find a related post."

When I go to /wp-admin it brings up a login page but when i fill out the fields it just brings me back to them same login page again.

Anything else i can try?

October 31, 2010
8:25 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Have you checked if the database was imported correctly? Try and also check if the wordpress tables have the same row size compared the original ones.

If you do a search on google with that error, you will find some related threads, see if it helps. 

I could help you better if i would have access to the restore site to see exactly if the restore process was correct, but the above advice should help in figuring that out.

 

Ovidiu

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

I just tried logging in via /wp-login instead of /wp-admin and that seems to work—the posts all seem to be there and i can edit them.

Also the homepage suddenly started showing content, but trying to actually click through to any of the post pages or a category page draws the following error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, mailto:[email protected]). This was not the case on the original wp site, so that seems suspicious. Removing the additional slash still yeilds a server error though.

I'll try comparing the database tables via my phpadmin as you suggest, but I don't know anything about databases and I'm new to WP so if there is any discrepancy I won't know what to do about it.

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

I did a cursory comparison of the database stats using phpmyadmin and didn't really see any differences, but then again i have no idea what to look for. However, i did notice that in the new db the "cardinality" of the "indexes" is listed as "none" whereas in the origin db the cardinality of the indexes is apparently "227".

i'm really grasping at straws here.

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: 737
Members: 9462
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Robert Dumitru
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0