Troubling executing a clone | 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
Troubling executing a clone
January 19, 2011
11:19 pm
Avatar
Wayne
New Member
Members
Forum Posts: 2
Member Since:
January 18, 2011
sp_UserOfflineSmall Offline

I'm trying clone a site onto my localhost, but get stuck with this error message:

 

Connected to Normal ftp server localhost - Active Mode

Moving source file restore/XCloner.php

Warning: ftp_put() [function.ftp-put]: Filename invalid in C:\xampplite\htdocs\wordpress\wp-content\plugins\xcloner-backup-and-restore\cloner.functions.php on line 564

FTP upload has failed for file c:/xampplite/htdocs/wordpress//XCloner.php ! Stopping ....

 

Need help getting past this....

 

Thanks.

January 20, 2011
1:32 am
Avatar
Wayne
New Member
Members
Forum Posts: 2
Member Since:
January 18, 2011
sp_UserOfflineSmall Offline

Well, I got the previous mentioned error and now I'm getting these errors after the Automatic Restore

 

Warning: is_dir() expects parameter 1 to be string, resource given in C:xampplitehtdocswordpressXCloner.php on line 2043

 

If I then try to restore the database, I get this error.

 

Fatal error: Call to undefined function add_action() in C:xampplitehtdocswordpressXCloner.php on line 34

Here are my settings:

Backup Start Path:  C:/xampplite/htdocs/wordpress/

Backup Store Path: C:/xampplite/htdocs/wordpress/wp-content/plugins/xcloner-backup-and-restore/administrator/backups/

 

FTP Settings on Backup and Restore Screen:

Website URL: http://localhost/wordpress

FTP Host name: localhost

FTP User name:  xxxx

FTP Password:  xxxx

FTP Directory:  /

Filezilla "Home" directory is set to the wordpress folder

 

XCloner Automatic Restore Screen:

Install Directory: C:/xampplite/htdocs/wordpress/

Install URL: http://localhost/wordpress

Import mySql data is checked

MySql:

Username xxxx

Password xxxx

Database: wordpress (this is the existing database)

Incremental transfer is unchecked

 

FTP:

Username: xxxx

Password: xxxx

Port: 21

FTP Path: /

Suggestions?

 

Thanks.

January 20, 2011
9:36 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

HI there! The add_action error is pretty weird, i don't recall having that function anywhere inside the code, could you attach here a copy after your XCloner.php file?

Also, when restoring, try using the "Install file directly" option and see if it helps. Also, make sure the restore backup size matches the one from the original site, if not, try and use a normal ftp client to do the transfer

 

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