• Resolved trevpaq

    (@trevpaq)


    PHP: 7.1.13
    Apache: 2.4.28
    WordPress: 4.7.9 (unfortunately can’t update)

    When setting up a new xcloner install, and entering all the correct credentials for a remote webdav folder, I get the following when selecting “Verify”. Note: Nothing is “empty” in the webdav setup.

    Warning: XMLReader::XML(): Empty string supplied as input in xxx/public/wp-content/plugins/xcloner-backup-and-restore/vendor/sabre/xml/lib/Service.php on line 152

    WebDAV connection error: This should never happen (famous last words)

    Any ideas?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Are you able to check your webdav connections some other way? It looks like xcloner is unable to connect to your webdav service

    Thread Starter trevpaq

    (@trevpaq)

    I have webdav connections from 2 other linux servers as davfs filesystems, and my windows PC that work with the same source.

    For testing, I also added that same source on the same server that xcloner is installed on as a davfs mount. It works as expected. I’d rather not leave the remote mounted davfs filesystem there. I’d like to use the remote storage option in xcloner and use only as needed.

    • This reply was modified 6 years, 9 months ago by trevpaq.
    Thread Starter trevpaq

    (@trevpaq)

    Just installed cadaver on the same server. Works to the webdav source.

    Please check the XCloner debugger log from it’s dashboard, do you have any other errors there related to the transfer?

    Thread Starter trevpaq

    (@trevpaq)

    [2018-02-02 23:46:26] php_system.INFO: E_WARNING: array ( ‘type’ => 2, ‘message’ => ‘XMLReader::read(): Load Data before trying to read’, ‘file’ => ‘…./public/wp-content/plugins/xcloner-backup-and-restore/vendor/sabre/xml/lib/Reader.php’, ‘line’ => 151, ) [] []
    [2018-02-02 23:46:25] xcloner_remote_storage.INFO: Creating the WEBDAV remote storage connection [“”] []
    [2018-02-02 23:46:25] xcloner_remote_storage.INFO: Checking validity of the remote storage WEBDAV filesystem [] []

    I did test XCloner against https://disk.yandex.com/ webdav service, they offer free 15GB hosting, and it seems to work just fine, would you mind creating yourself an account there and trying to make an upload to yandex to see if the issue persists? Feel free to send me your webdav test connection details at https://www.thinkovi.com/contact/ and i will make a few tests from here.

    Thread Starter trevpaq

    (@trevpaq)

    I’ve sent test credentials to the link you provided.
    Thanks for looking into this.

    Seems the issue is related to the webdav url which was missing a slash at the end, after adding that at the end, the connection was valid from here and i could upload files

    Let me know if you encounter further issues.

    Thread Starter trevpaq

    (@trevpaq)

    That fixed it.
    Why would I need to add an ending “/” to the url? Why would this manifest as an “Empty String” error?

    If this is the official “fix”, perhaps add this as an FAQ?

    • This reply was modified 6 years, 9 months ago by trevpaq.
    • This reply was modified 6 years, 9 months ago by trevpaq.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Empty string supplied as input error’ is closed to new replies.