Issue with filepaths of admin files in multisite
-
Hello. I’m trying to merge two sites together into a multisite. Both sites use NextGen Gallery plugin. I’m having an issue where the plugin works fine on the primary site, but any secondary site is encountering a bunch of 404 errors on the admin dashboard of NextGen specifically.
For background and context:- This is a subdirectory multisite
- I have checked that filepaths in the sql database tables of the galleries are all correct.
- I have checked the file system files are all setup correctly
- Images are all loading fine, it’s just the admin tools that are displaying all the errors.
- the hosting is on AWS Lightsail running Bitnami, so the file directories are slightly different than standard cPanel style hosting, but I’m using this plugin on several other multisites also on AWS Lightsail/Bitnami with no issues like this.
- I have tried uninstalling and reinstalling the plugin several times, i have also tried manually deleting and manually uploading the plugin folders/files from the file system, issue still persists.
- I have tried disabling all other plugins, issue still persists
- I have tried installing third and fourth child sites, issue still persists on all new sites that are not the primary site.
See screenshot here for list of 404 errors for reference. https://imgur.com/a/Mwpqwnp
It looks like the filepath is trying to pull from higher up in the file system directories than necessary. For example, you can see the filepath is:
But the CORRECT filepath should be:
So the issue is all the admin files are trying to add “bitnami/wordpress/” to the filepath.
You can see similar results in the errors listed on the front end of this page, where the albums should be displayed: https://goodpeopletheaterco.org/janet/gallery/
Any idea how to fix this please?
Note: I am aware there are a bunch of mixed content errors as well, I am planning to fix those once the real domain is attached to the secondary site.
The page I need help with: [log in to see the link]
- The topic ‘Issue with filepaths of admin files in multisite’ is closed to new replies.