The MU forums have moved to WordPress.org

Blog Upload Space Quota not work for primary blog (4 posts)

  1. ZDJL505
    Member
    Posted 13 years ago #

    Hi,

    In edit blog page (Site Admin > Blogs > Edit blog) there is an option 'Blog Upload Space Quota' under Misc Blog Actions box. Naturally this option seem blank, but it keep default value 10MB. I try to edit this option for my primary blog (http://primary.com) but it's not work, still blank (10MB). But when I try edit this option for child blog (http://child1.primary.com), it's work.

    Other fact, I can edit this option for primary blog in my local server.
    I guest there is problem in my DB content but I don't know what table & field. Could someone help me?

    My server configuration:
    WPMU 2.9.2
    PHP 5.2.9
    MySQL 5.0.90-community-log
    Apache 2.2.11

  2. ZDJL505
    Member
    Posted 13 years ago #

    Hello every body, are there anybody can help?

  3. tdjcbe
    Member
    Posted 13 years ago #

    The field (Wordpress calls them options) is blog_upload_space.

    Open up whatever you;re using for database management, assuming it;s phpmyadmin, and take a look at the databases. Individual blog data is contained within wp_# tables where # is the blog id number. The primary blog should be blog #1. Take a look for the wp_1_options table to see if you have a blog_upload_space field in there.

    Not sure why it;s not taking. Had assumed that blog #1 was special in some way but I don;t see anything in the code about not applying a space upload check.

    http://trac.mu.wordpress.org/browser/trunk/wp-admin/includes/mu.php#L355

    Hope this helps

  4. ZDJL505
    Member
    Posted 13 years ago #

    Hi tdjcbe, thanks for your explanation.
    I have check in wp_1_options table and there is no option_name with value blog_upload_space. But I found it in wp_3_options table. FYI, I have changed the 'Blog Upload Space Quota' for this child blog ((http://child3.primary.com).
    What program/function that define a record with option_name value=blog_upload_space in wp_1_options table?

    Best regards,

About this Topic