Not being able to upload Avatar

This topic contains 6 replies, has 4 voices, and was last updated by  Stiofan O’Connor 6 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #1203

    Mark Wildenberg
    Free User
    Post count: 2

    I configured my site to work with Azure storage (cloud storage). When using the UsersWP plugin the image is uploaded to the “https://soloklassedev.azurewebsites.net/wordpress/wp-content/uploads/2017/12/PA150002-6.jpg” and not to the cloud storage (see log below). After uploading an error is shown in the browser console:
    VM13922:1 Uncaught SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)….
    Your plugin is working succesffully using the local storage. Any ideas how to resolve.

    plugin:
    https://wordpress.org/plugins/windows-azure-storage/

    Profile page:
    http://soloklassedev.azurewebsites.net/wordpress/theprofile/

    In the server trace I see a warning appearing which cannot find the BLOB
    [15-Dec-2017 22:32:18 UTC] PHP Warning: getimagesize(https://soloklassedev.blob.core.windows.net/wordpress/2017/12/PA150002-6.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 The specified blob does not exist.

    Please let me know if you need any credentials and how to transfer them.

    #1204

    Guust
    Moderator
    Post count: 29970

    I have asked a developer to have a look at your question.
    Thanks

    #1205

    Paolo
    Site Admin
    Post count: 31206

    Hi Mark,

    please provide in a private reply, admin credentials for that website and possibly FTP too.

    Thanks

    #1206

    Mark Wildenberg
    Free User
    Post count: 2
    This reply has been marked as private.
    #1207

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Mark,

    I have done some testing, we are using the WP function “wp_handle_upload” and it is returning what looks to be a correct url on but its not resolving correctly as per ur example above.

    I see on their plugin page they are having problems and only really say images uploaded via the wp media uploader will work correctly.

    We are doing everything correctly and the “WordPress way” i would suggest you take this up with the author of that plugin, mention we are using “wp_handle_upload”

    Thanks,

    Stiofan

    #1208

    Mark Wildenberg
    Free User
    Post count: 2

    Okay, thanks for spending your time. I will check with the provider of the azure storage plugin.

    #1209

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks for your understanding!

    Stiofan

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket