The free forums are no longer in use. It remains available as read-only archive.
11:19 pm
January 18, 2011
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.
1:32 am
January 18, 2011
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.
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
1 Guest(s)