Skip to:
Content
Pages
Categories
Search
Top
Bottom

buddypress heroku profile and cover image not saving


  • phonoptikj
    Participant

    @phonoptikj

    Hi everyone ????
    I´m having this issue, 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, and no content uploaded is saved). 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 they disappear.

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

Viewing 1 replies (of 1 total)

  • justiner23
    Participant

    @justiner23

    Select your File
    hello guys i have this since weeks now and i still have no solution for it when i upload an image group or cover image in the end of process it shows this:

    Upload Failed! Error was: Unable to create directory /groups/5/cover-image. Is its parent directory writable by the server?

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