XCloner not working to restore site. | 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
XCloner not working to restore site.
November 19, 2014
6:30 pm
Avatar
Frank
Member
Members
Forum Posts: 6
Member Since:
October 15, 2014
sp_UserOfflineSmall Offline

Hello, I've used XCloner before to move a site successfully.  Now I have that same site and I want to set up another copy as a test site on another server.  However, when I put the copressed TAR file up with the TAR and XCloner.php file and go to the borwser and type in the URL all seems OK.  I put in the new, clean database info and click "Start" like normal but instead of extracting everything it goes to 0.14% and then downloads the XCloner.php file in the browser window.  And because my system is set to open Dreamweaver for php files it opens DW and the XCloner php file.  And the restore stops.

I thought it was a bad backup so I did another one and I got the same result.

thanks

November 23, 2014
9:21 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Try and delete the restored .htaccess file, then refresh the screen with the issue.

Ovidiu

November 24, 2014
5:04 pm
Avatar
Frank
Member
Members
Forum Posts: 6
Member Since:
October 15, 2014
sp_UserOfflineSmall Offline

Tried that and does the exact same thing.  

I delete the file, go out to the browser page and hit refresh and it downloads the file again. I look in the directory and the .htaccess is back again.

November 24, 2014
5:34 pm
Avatar
Frank
Member
Members
Forum Posts: 6
Member Since:
October 15, 2014
sp_UserOfflineSmall Offline

Let me clarify, I may have deleted teh wrong htaccess file.  

I redid everything short of rebuilding the backup.  Now I get 

Fatal error: Cannot instantiate non-existent class: mysqli in.../test/TW/XCloner.php on line 401

 

And there was an error about line 205

November 26, 2014
6:02 pm
Avatar
Frank
Member
Members
Forum Posts: 6
Member Since:
October 15, 2014
sp_UserOfflineSmall Offline

OK, I had a chance to clear off all the files, delete the old database, run a new backup, get the TAR and Cloner from that install again and I get the exact same issue.

 

I went in and made sure I deleted the correct file.  Refreshed and does the exact same thing.

 

I go back in and look in the directory and the .htaccess is back.  I deleted it again to make sure, refreshed the browser and it did the same thing.  Looked in the directory and .htaccessis back.

November 26, 2014
6:48 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Extract the backup archive files manually, fix or delete the .htaccess code, and restart the restore process with Skip Files Restore option checked.

November 26, 2014
7:54 pm
Avatar
Frank
Member
Members
Forum Posts: 6
Member Since:
October 15, 2014
sp_UserOfflineSmall Offline

Yay!  Worked.

But let me ask, that isn't the way it is supposed to work.  Do I need to do something so that the next time it will work like expected?

November 29, 2014
9:33 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Check with your hosting support, there might be some rules they need to enable for the .htaccess to work correctly.

 

Ovidiu

December 11, 2014
8:23 pm
Avatar
Frank
Member
Members
Forum Posts: 6
Member Since:
October 15, 2014
sp_UserOfflineSmall Offline

I host with siteground which is supposed to be one ot thebest Wordpress hosts.  I asked them and they said that there is nothing on their end they are aware of that would cause this.

 

As I say, I've used it successfully on other sites.  Could it be this theme?  I'm using 456Ecology from Themeforest and a developer that sucks at support.

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