• Resolved pieter

    (@pieter)


    Hi,
    Looks like a nice and simple plugin. But …
    When trying to upload a picture, I get this error:
    Could not save uploaded file. The upload was cancelled, or server error encountered.
    My “uploads” folder has 755 permissions and works for other stuff.
    I guess this Activity Plus plugin should put uploads there?
    Any idea?
    Thanks in advance.

    https://wordpress.org/plugins/buddypress-activity-plus/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey there Pieter,

    Hope you’re well today 🙂

    Yes the images are stored in the /uploads/bpfb/ folder. Would you mind posting link to your site so I can take a look at the console for errors?

    Best regards,
    Bojan

    Thread Starter pieter

    (@pieter)

    Thanks for your reply.
    It is a membership site, so you couldn’t check that I guess?
    And also I had to deactivate the plugin to avoid user frustration.
    I can see that I have indeed a folder /bpfb with an empty /tmp therein, inside the uploads folder. All are 755.
    Does that help in any way?
    Kind regards,
    Pieter

    Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey Pieter,

    If the folder is set to 755 it’s possible that something else is causing this.

    This could also be a memory issue. Have you tried increasing your PHP memory limits, there was a similar discussion for this here: https://wordpress.org/support/topic/not-working-with-large-image-size?replies=11#post-4177457.

    Hope this helps 🙂

    Best regards,
    Bojan

    Thread Starter pieter

    (@pieter)

    Well, been there, done that.
    Memory limit is 256M or something and even a very small pic can’t upload.
    So I guess it’s something else.
    Hmm where to look?
    Pieter

    Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey again Pieter,

    Did you also tried changing in php.ini and/or wp-config.php file as suggested in the thread?

    Aside from that you could try testing tor plugin/theme conflicts to see if this is related to a conflict? To do that please try using default WordPress theme like Twenty Fifteen and deactivating all other plugins as displayed in the following flowchart to know which theme/plugin is conflicting if any.

    http://premium.wpmudev.org/wp-content/uploads/2013/12/Support-Process-Support-Process.png

    Best regards,
    Bojan

    Thread Starter pieter

    (@pieter)

    Hi Bojan,

    I tried indeed increasing memory via wp-config.php but that didn’t help.

    Now I avoid experimenting too much with the live site, so I tested the plugin on my local setup (MAMP) with the same WP, same theme, and all plugins with the same versions. There it works! That tells me it’s something on the server side. Right?
    What could be the next step?

    Thanks,
    Pieter

    Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey again Pieter,

    Yes, most likely it is related to your server configuration. You could try to contact your hosting provider with the information (what you’ve tried) so they can possibly take a look as they have access to the server error log.

    Can you please let me know of their response.

    Best regards,
    Bojan

    Thread Starter pieter

    (@pieter)

    Bojan,

    Actually I did not expect it to be the server, so I waited to let it cool down. 😉
    Now after some upgrades like BP 2.6 I tried again and it works!
    Some things get solved with patience. 🙂

    Pieter

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Could not save uploaded file. Why?’ is closed to new replies.