Can not Manage Max Upload File Space after Removing "Upgrades Plugin"

I have removed the "Upgrades Plugin", because after observing for more than 3 months, my site is only suitable for using "Ad Sharing Plugin".

But after that, I can not set "Max Upload File Space" on Site Admin > option. Two months ago I set 39 MB. When I changed to 49 MB, but on user blogs still 39 MB. I changed to 59 MB, but on user blogs still 39 MB.

I removed following files:

paypal.php – goes in / <– root directory

upgrades.php – goes in /wp-admin

0-upgrades-hook.php – goes in /wp-content/mu-plugins

upgrades-framework.php – goes in /wp-content/mu-plugins

upgrades-payment-module-paypal.php

/wp-content/mu-plugins/upgrade-plugins

On database I removed:

wp_upgrades_credits

wp_upgrades_package_status

wp_upgrades_log

wp_upgrades_packages

I also removed "supporters plugin" with all files and related database

Currently I use following plugins:

CodeStyling Localization

BuddyPress

Akismet

Add to Any: Share/Bookmark/Email Button

All in One SEO Pack

Google XML Sitemaps

Quick Stats

Smart Youtube

WordPress.com Stats

WordPress Database Backup

Mu-plugins:

ad-sharing

admin ads

content monitor

default theme

global-site-search

invite

limit-blogs-per-users

login-image

mass-mailer

post-indexer

ra-theme-stats

recent-posts

remember-me-checked

signup-language

signup-tos

widget-recent-global-posts

widget-users

Please help me to set "Max Upload File Space" on Site Admin > option again.

  • Andrew
    • Champion of Loops

    Hiya,

    You’ll need to go into the db or edit the blog details (Site Admin > Blogs) and clear the ‘blog_upload_space’ option for each of the blogs.

    Alternatively you can edit wp-admin/includes/mu.php and comment out lines 348 and 349:

    $spaceAllowed = get_option("blog_upload_space":wink:;

    if( $spaceAllowed == false )

    Thanks,

    Andrew

  • swingjazz
    • WPMU DEV Initiate

    Andrew,

    Thanks a lot for your reply.

    I am no expert on PHP programming.

    By using your first solution, yes, I’ve tried, it works, but it takes time.

    If I want to use your second solution, suppose I want to set upload space 49MB, the option on line 352 is 50 (this option is always the same on other websites).

    Please elaborate your second solution, which part should I edit, do I need to delete some parts?

    Or another quick solution?

  • Andrew
    • Champion of Loops

    Hiya,

    There’s really not much to elaborate on I’m afraid. You just need to open up wp-admin/includes/mu.php and comment out those two lines so they look like this:

    //$spaceAllowed = get_option("blog_upload_space":wink:;

    //if( $spaceAllowed == false )

    The slashes comment out the lines.

    Thanks,

    Andrew