Skip to:
Content
Pages
Categories
Search
Top
Bottom

Impossible to upload photos (profile and cover)


  • Madintouch
    Participant

    @awalka

    Hello,

    Il have a problem for uploading photos for profile and cover : HTTP error ?
    Can you tell me what i can do ?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

  • Henry Wright
    Moderator

    @henrywright

    HTTP error is a very generic error. Do you have anything else in your error logs?


    Madintouch
    Participant

    @awalka

    Hello, no i don’t see other errors


    raypasnen
    Participant

    @raypasnen

    Hi. You need to be sure that your version of PHP is running “GD” – that allows buddypress to save images to your gd_graphics_library. Go to cPanel -> easyapache -> customize – extensions – search for “gd” and you will find it’s listing and whether it is installed, active, whatever. Otherwise, ask your host to turn it on.

    Hope this helps.


    phonoptikj
    Participant

    @phonoptikj

    Hi everyone 😀
    I´m having the same issue, but only with the profile and cover images. The rest of the images are uploading fine (PHP its running GD already). The thing is that my site is running WordPress with BuddyPress on Heroku. All the uploaded images go to the s3 amazon bucket, except for the profile image and cover image, which, once they are uploaded, go to the Heroku ephemeral file system, so after a little while they disappear (as this is their policy on free accounts, they restart the “dyno” as they call it, which means the server). The difference you can tell on the permalink generated for every image, for instance, If I upload an image normally from the media library or even from a plugin which let me upload images and media from my BuddyPress profile, they get this kind of permalink: “http://s3-sa-east-1.amazonaws.com/artlikeall1/content/uploads/2018/03/07212557/my-image.jpg”, now when I try to change my cover and profile image from my BuddyPress profile view, the images get uploaded with this kind of permalink: “http://mysite.herokuapp.com/content/uploads/avatars/61/myprofilepic.jpg”, and after a while it disappears.

    So please anyone could shed some light on this? it seems that there is no info about running BuddyPress with Heroku. Thanks!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar