[wp-trac] [WordPress Trac] #49477: Multisite shows always wrong limit of uploading

WordPress Trac noreply at wordpress.org
Wed Feb 19 15:17:14 UTC 2020


#49477: Multisite shows always wrong limit of uploading
--------------------------+-----------------------------
 Reporter:  rashidkalwar  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Upload        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  multisite     |
--------------------------+-----------------------------
 I have multi site with php upload limit 2GB post size limit 2GB running
 with nginx web-server on my on server, upload limit in nginx set to: 2GB
 The wordpress site displays 1mb upload limit. I can’t upload bigger files.
 Only the html upload allows me to upload bigger files ,even when it still
 says “limit 1 MB”
 I tried all possible things to fix this, wp-config.php, functions.php,
 php.ini, nothing worked. Deactivated all plugins using standard theme.
 All other wordpress’s that are installed on this user account on this
 server show an upload limit of 2 GB as they should.
 The only fix I found is to remove the multi site part from wp-config. As
 soon as I remove this part it shows the upload limit correctly as: “2 GB”.
 This is what I removed from wp-config.php:
 /* Multisite */
 define( ‘WP_ALLOW_MULTISITE’, true );
 define(‘MULTISITE’, true);
 define(‘SUBDOMAIN_INSTALL’, true);
 define(‘DOMAIN_CURRENT_SITE’, ‘example.com’);
 $base = ‘/’;
 define(‘PATH_CURRENT_SITE’, ‘/’);
 define(‘SITE_ID_CURRENT_SITE’, 1);
 define(‘BLOG_ID_CURRENT_SITE’, 1);
 define(‘WP_ALLOW_REPAIR’, true);`
 Steps to reproduce:
 Install wordpress
 Install multi site for sub domains after wordpress is all ready installed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49477>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list