WordPress.org

Forums

WP Clone by WP Academy
Error Message : The provided URL () is either not valid or empty (56 posts)

  1. catnip216
    Member
    Posted 2 years ago #

    Reintalled WP from scratch, installed WP Clone, and that resurfaced the problem. Hopefully that'll help you get things figured out. :-)

  2. WP Academy
    Member
    Plugin Author

    Posted 2 years ago #

    bingo! my mistake :)
    basically,we have been using the WP filesystem to do all the file operations during the restore process,but beginning with 2.1.3,I moved the backup process into that as well.
    when you get that FTP dialog,WP filesystem lets us pass all the form fields from the previous page as hidden fields so we could continue with the interrupted process,and we need to specify those form fields beforehand and as it turns out I had forgotten to add the form field that invokes the backup process,and it was moving onto the next available option. anyways,that's my theory lol,but yeah that should be easy to test since we have a live server :)

  3. snielsss
    Member
    Posted 2 years ago #

    Have you had the time to test it?

  4. snielsss
    Member
    Posted 2 years ago #

    I added my ftp login to wp-config, so this would bypass the ftp login screen. The plugin does generate a backup, with a successful message. But the backup is way to small, and It gives me 4 errors all related to the plugins functions file:

    Warning: fopen(**/wp-content/uploads/wp-clone/wpclone_backup/database.sql) [function.fopen]: failed to open stream: No such file or directory in **/plugins/wp-clone-by-wp-academy/lib/functions.php on line 123

    Warning: fwrite(): supplied argument is not a valid stream resource in **/plugins/wp-clone-by-wp-academy/lib/functions.php on line 124

    Warning: fclose(): supplied argument is not a valid stream resource in **/plugins/wp-clone-by-wp-academy/lib/functions.php on line 125

    Warning: Invalid argument supplied for foreach() in **/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

  5. WP Academy
    Member
    Plugin Author

    Posted 2 years ago #

    yup same here,I'm gonna change it back to the way it was before (with a minor modification that I've been meaning to add for a while),I'll let you know when it's in the trunk..

  6. snielsss
    Member
    Posted 2 years ago #

    thanks!

  7. wallyton
    Member
    Posted 2 years ago #

    Having the same problem while trying to make a backup.
    The provided URL () is either not valid or empty

  8. WP Academy
    Member
    Plugin Author

    Posted 2 years ago #

    were you asked to enter FTP details as well?

  9. wallyton
    Member
    Posted 2 years ago #

    Yes, FTP details too.

  10. madvibes
    Member
    Posted 2 years ago #

    I am having the same issue. getting the error:

    The plugin encountered an error during the restore process,the following error message was returned:
    Error Message : The provided URL "" is either not valid or empty

    when i try to back up my site. strange that it says "during the restore process" as i'm not trying to restore.

    i was asked to supply my FTP information, and then got this error after submitting.

  11. sethcshort
    Member
    Posted 2 years ago #

    I'm having the same problem. I was excited to see the quick response, and the potential for a solution, but it looks like the conversation petered out before the solution was posted. Hopefully a solution is forthcoming?

    Here's a new permutation:
    I'm asked for my FTP info, as the other users were.
    I had previously attempted to create a backup, which DIDN'T ask me for FTP info, but hung for a while and then resulted in a page with the text:

    lib/js/ZeroClipboard.swf' } ); /**workaround for firefox versions 18 and 19. https://bugzilla.mozilla.org/show_bug.cgi?id=829557 https://github.com/jonrohan/ZeroClipboard/issues/73 */ var enableZC = true; var is_firefox18 = navigator.userAgent.toLowerCase().indexOf('firefox/18') > -1; var is_firefox19 = navigator.userAgent.toLowerCase().indexOf('firefox/19') > -1; if (is_firefox18 || is_firefox19) enableZC = false; if ( $( ".restore-backup-options" ).length ) { $( ".restore-backup-options" ).each( function() { var clip = new ZeroClipboard( $( "a.copy-button",this ) ); /** FF 18/19 users won't see an alert box. */ if (enableZC) { clip.on( 'complete', function (client, args) { alert( "Copied to clipboard:\n" + args.text ); }); } }); } else { var clip = new ZeroClipboard( $( "a.copy-button" ) ); /** FF 18/19 users won't see an alert box. */ if (enableZC) { clip.on( 'complete', function (client, args) { alert( "Copied to clipboard:\n" + args.text ); }); } } });

    (No idea what to do with this.)

    If I go back to the WP Clone panel, it shows no existing backup, and when I hit Backup again, THEN I'm getting the FTP details form. Which doesn't work, as per the previous posters.

    One further thing:
    I found a folder in my wp-content/blogs.dir/1/files folder, named "wp-clone", that contains a backup of SOME of my wordpress data, but leaves out a large chunk of my main blog data.

    Interestingly, the backup seems to contain an infinite-recursive loop of folders, as so:
    wp-content/blogs.dir/1/files/wp-clone/wpclone_backup/wp-content/blogs.dir/1/files/wp-clone/wpclone_backup/wp-content/blogs.dir/1/files/wp-clone/wpclone_backup/wp-content/blogs.dir/1/files/wp-clone/wpclone_backup/wp-content ... and so on.

    If I delete the wp-clone folder, and try the backup again, it again DOESN'T ask for FTP info but fails with the above code block. And then on subsequent tries it asks for FTP info again.

    Thoughts?
    Seth

  12. zwokonline
    Member
    Posted 1 year ago #

    Hi,

    any news? Having the same Problem, also asked for FTP-server...

  13. sethcshort
    Member
    Posted 1 year ago #

    I resolved it... By using a different plugin: XCloner. Worked just fine.

    http://wordpress.org/plugins/xcloner-backup-and-restore/

    Seth

  14. sethcshort
    Member
    Posted 1 year ago #

    Oh also the recursive nested folders were a real mess. They were too deep to delete. Took me an hour to untangle them enough to delete them. What a mess.

  15. zwokonline
    Member
    Posted 1 year ago #

    i used the duplicator plugin, worked for me (small site), not that comfortable at all.
    normaly its to transfer sites to/from a local server, but also works to clone a site on the server, just copy the installer.php and the zipped data-file in the new root directory an start installation with http://www.xxx.xx/installer.php

    The only thing you need in addition are user and pwd for a new database...

  16. catnip216
    Member
    Posted 1 year ago #

    I second Duplicator, and have used it successfully several times before, going from local to live.

    It's a shame that this thread seems to have been ignored lately. If I could get it to work, the advantage of this plugin over Duplicator would be that I could push changes back and forth between dev/live versions of a site without having to re-enter DB info every time.

  17. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    @catnip216 didn't think that the old login details would work,but I sure am glad to see that I was wrong.. pretty cool!! anyhow,next update will fix this issue.

    @sethcshort multisite?

  18. Elveryx
    Member
    Posted 1 year ago #

    I just update to 2.1.5 and was still asked for FTP authentication and then got the same error message.

  19. catnip216
    Member
    Posted 1 year ago #

    @WP Academy
    I've left it up just in case :-) Do let me know when you're done with it, though, as I'd like to take it down at some point

  20. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    @Elveryx yeah that was just a UI fix,I made that reply after the 2.1.5 update ;)

    @catnip216 will do :)

  21. sethcshort
    Member
    Posted 1 year ago #

    @WP Academy: Yes, it was multisite. Does that make a difference?

  22. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    @sethcshort yup,that would explain the nested folders,the file backup loop only excludes /*uploads_dir*/wp-clone/.
    I'm gonna add a warning for MU users in the next version,and I apologize for any inconvenience this may have caused..

  23. Elveryx
    Member
    Posted 1 year ago #

    @Elveryx yeah that was just a UI fix,I made that reply after the 2.1.5 update ;)

    So what should I do about that? Waiting for the next update?

  24. snielsss
    Member
    Posted 1 year ago #

    Ok wil wait for update than

  25. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    or you could downgrade to 2.1.2 ;)

  26. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    2.1.6 should solve this,feedback appreciated :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Clone by WP Academy
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.