BuddyDev

Search

[Resolved] Error messages

Tagged: 

  • Participant
    Level: Initiated
    Posts: 2
    James coffman on #42899

    Hello, thanks for the add, I have errors and am debugging the issue. I may need someone to enlighten me, because I have several sites running the same plugins on a multi-network. The main site works, while the additional sites do not, here is an error I get. “Unable to upload. You have used the allowed storage quota!”.

    I have my php upload settings set to 128mb in Plesk. and it is set to 10mb in mediapress setting, the default values still there.
    At first it would not allow me to post anything but docs, then now I get this error after reset and purge.

  • Participant
    Level: Initiated
    Posts: 2
    James coffman on #42905

    Problem solved after trial and error. Add following to functions.php of your theme. Only downside is that it is Theme specific, meaning it will only work for the current theme, if you switch themes, readd to functions.php
    ‘function filter_site_upload_size_limit( $size ) {
    $size = 1024 * 70000;
    return $size;
    }
    add_filter( ‘upload_size_limit’, ‘filter_site_upload_size_limit’, 20 );’

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #42916

    Hi James,
    Thank you for sharing.

    The reason is you are on multisite where WordPress limits each site’s storage. By using the above filter, you have overwritten WordPress’s restriction on the upload size for individual site.

    Regards
    Brajesh

The topic ‘ [Resolved] Error messages’ is closed to new replies.

This topic is: resolved