The MU forums have moved to WordPress.org

Problem: quota check function (6 posts)

  1. TimePeak
    Member
    Posted 12 years ago #

    Hello everyone

    I've upgraded to WPMU 2.6 and I'm using NextGen Gallery 0.96

    OK, when I upload files to gallery - everything is OK, but when I try to upload files using Flash based upload (allows to upload multiple files at once) - get this error:

    ERROR: something.jpg :
    Fatal error: Call to undefined function wpmu_enable_function() in .../wp-content/plugins/nextgen-gallery/admin/wp25/functions.php on line 711

    Line 709-717 and below are:

    function check_quota() {
    		// Only for WPMU
    			if ( (IS_WPMU) && wpmu_enable_function('wpmuQuotaCheck'))
    				if( $error = upload_is_user_over_quota( false ) ) {
    					nggallery::show_error( __( 'Sorry, you have used your space allocation. Please delete some files to upload more files.','nggallery' ) );
    					return true;
    				}
    			return false;
    	}
  2. musnake
    Member
    Posted 12 years ago #

    Let me guess, these folks sent you here because it is a WPMU-related issue?

    If you have the old files, you could try to figure out why that function didn't make it to your current version (with the same name?)...

  3. bikerjeg
    Member
    Posted 12 years ago #

    I just encountered this same issue when I did a recent upgrade. Any body figure this one out yet?

  4. seanzyville
    Member
    Posted 12 years ago #

    Hi, i have the exact same problem. I have WPMU 2.65 installed. Please help.

  5. VentureMaker
    Member
    Posted 12 years ago #

    Comment out the lines causing that error. Worked for me :)

  6. jf.trichard
    Member
    Posted 12 years ago #

    on line 700 of
    wp-content/plugins/nextgen-gallery/admin/functions.php

    remove : && wpmu_enable_function('wpmuQuotaCheck')

    regards
    JF

About this Topic

  • Started 12 years ago by TimePeak
  • Latest reply from jf.trichard