-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media upload failing except on main site #165
Comments
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:
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. |
Can you confirm that your network Upload settings are what you need them to be? 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, 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] Can you help me? please |
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?
The text was updated successfully, but these errors were encountered: