Media upload failing except on main site
I have been using the wp-multi-network plugin for years and have been very happy with it. However recently, on all of our networks except the main (first one), the media library upload fails to finish properly. Typically we get a PHP timeout (300 seconds) and a generic error saying to use a smaller file. The file winds up in the correct directory, but not in the media library. Only the file uploaded, no thumbnails or resized versions. I even setup a from scratch wordpress install with just 2 networks. The second network fails the exact same way. The media library remains empty. Any chance this could get fixed?
Unhappy is the same for me :(
I found the url about sunrise.php creation in https://paulund.co.uk/wordpress-multisite-with-nested-folder-paths but, the article it is very old and little didactic. I follow all steps, though resulted in a php error in sunrise code.
Someone can help us? I structure my multi network this way:
- domain - Main site
- EN.domain - 2nd site
- EN.domain/games - 3rd site
- EN.domain/music - 4th site
- ES.domain - 5th site
- ES.domain/games - 6th site (...) Any file sent from the secondary sites, I see in ftp, but it does not go up to the database or to the native media manager of wp.
I use the last wp core version and php 7.3.
Well, I think you are in a world of hurt. You are describing the same problem I had. I could not fix the problem in my installation; so, I had to migrate all of my sites to another MultiSite wordpress installation without the wp-multi-network plugin installed. Very slow and painful process for 24 sites.
For what it is worth, here is what I did. I used WP Migrate DB Pro with the Multisite Tools addon (doesn't work otherwise). Another problem is you cannot migrate (with this tool) from multisite to multisite. It lets you migrate to a stand alone site and it lets you import a standalone site. So, I stood up a standalone site on a testing URL and ported each site to the stand alone site and then ported to the new multisite. Each site was down during the 2nd porting step, but I didn't see any way around that. Keep in mind that you have to create the site on the new multisite installation and move the URL between the two websites (old multisite and new multisite).
Additionally, I ran into a couple of problems where the migration process didn't quite work right. Some of the media file links were sometimes pointing to the wrong directory or the wrong base URL. So, I would have to run the Find and Replace tool within WP Migrate DB Pro to correct.
It was one site at a time and I had to check the pages for missing media and the headers and footers for missing media as well. Good luck
Can you confirm that your network Upload settings are what you need them to be?
Mine are:

Can you also confirm that your web server software (Apache, nginx, etc...) is configured to accept uploads from the domains you've created? How you do this will vary wildly, but I'm happy to help here if I'm able.
(We could also move this to a Discussion if you'd like. I know a few folks are seeing this, but whether or not it's a bug is still inconclusive. š)
Maybe related to #153.
Hello, Iām trying to create a wordpress multisite ā multi-network (sub folders) with the WP Multi-Network plugin in siteground hosting, and I follow the instructions to achieve the folder paths (with this tutorial)
like so:
main site (main domain) >> country1 sub network (with domain) >> city1 sub network >> subsites x.
when I modify the htaccess in the line
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.) $2 [L] to Rewrite rule ^(.+)?/(wp-.) /$2 [L] the media and wordpress customization options of the >> city 1 subnet and the >> x subsites are not shown.
Can you help me? please