OneDrive autentication error

Tagged: 

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #116771
    Niclas Lundin
    Participant

    Hi

    When trying to authenticate updraft with OneDrive I get:
    OneDrive error: json_decode() failed (0)

    I have followed your guide and all looks ok.
    Any idea what to do?

    Regards
    Niclas Lundin

    #116787
    udadmin
    Keymaster

    Hi Niclas,

    Please could you provide a screenshot of that? Use https://snag.gy if it helps.

    David

    #116790
    Niclas Lundin
    Participant
    #116851
    Niclas Lundin
    Participant

    Tried it on another site of mine, same result…

    //Niclas Lundin

    #116853
    udadmin
    Keymaster

    Hi Niclas,

    Please can you de-install UpdraftPlus, and then re-install from a fresh download. I’ve added a small tweak to log more information. So, it will still fail – but there should be a different error message. (The UD version will also be the same).

    David

    #116888
    Niclas Lundin
    Participant

    Jupp, new “error” message.
    https://snag.gy/afJgM.jpg

    //Niclas Lundin

    #117157
    Niclas Lundin
    Participant

    Any news on this one??

    //Niclas Lundin

    #117172
    udadmin
    Keymaster

    Hi,

    Sorry – I think I replied to this and then we accidentally deleted the reply when testing the forum. Or something of that kind…

    If you go to the ‘expert/debugging’ tab in UpdraftPlus, can you copy+paste the system information shown there? (Or just screenshot the top part of the tab). Also – who is your web hosting company? Are all the sites you have had this problem on with the same web hosting company?

    David

    #117173
    Niclas Lundin
    Participant

    https://snag.gy/xs3iO.jpg

    It is a dedicated server that I have full root access to.
    The other domain with the same problem was on a VPS hosted by Ipeer.se.

    //Niclas Lundin

    #117193
    udadmin
    Keymaster

    Hi,

    What’s logged in your PHP error log when you make the authentication attempt? (If you don’t have a PHP error log, then please configure one).

    If you were able to send us an FTP + WP login to use on a site that’s not working, that’d really help us to be able to debug it faster. (You can send credentials in a private reply – tick the ‘Set as private reply’ box when replying, and then only we can see it).

    David

    #117197
    Niclas Lundin
    Participant
    This reply has been marked as private.
    #117198
    udadmin
    Keymaster

    Hi,

    Thank you. Please log in and try again now.

    I think it is something to do with either the curl version, or an open_basedir restriction in the PHP setup.

    I have made some tweaks, and succeeded in authenticating to my OneDrive account. I have wiped the settings now so that you can try with yours. (I authenticated but did not try a backup).

    Best wishes,
    David

    #117200
    Niclas Lundin
    Participant

    Now it works!

    How do I Implement the change on the other server?

    //Niclas Lundin

    #117201
    udadmin
    Keymaster

    Great! Just de-install UpdraftPlus and re-install it – the version that’ll get downloaded has the tweak in it.

    Best wishes,
    David

    #117203
    Niclas Lundin
    Participant

    Thanks David

    I have now installed on another domain and it works just great!!

    //Niclas Lundin

Viewing 15 posts - 1 through 15 (of 17 total)
  • The topic ‘OneDrive autentication error’ is closed to new replies.