plugin error in our weird configuration
-
We have ~30 WP sites on a server.
We store plugins in a central directory and slink to them from each website that uses that plugin.
(Reason: saves a lot of memory in OPCache & saves compiling the code more than once.)
This relies on plugins being well-behaved. bbpress used to work but has lately broken.
We are seeing this error:
Loading failed for the <script> with sourcehttps://www.otu.asn.au/home/lamp/wordpress/plugins/bbpress/templates/default/js/editor.min.js?ver=2.6.9
What it should be trying to load:
https://www.otu.asn.au/wp-content/plugins/bbpress/templates/default/js/editor.min.js?ver=2.6.9
Obviously the plugin is using the filepath to construct the loading URL, I suspect the code doing this is non-standard, causing the problem.Temporary solution is to load the plugin into the wp-content directory of the site, rather than using the slink. This has been implemented but means that the plugin won’t update. (We do updates outside of WP using python/SVN, and apache doesn’t have write access to any directories that contain PHP files – more secure). Fortunately we don’t use the plugin on any other sites.
- You must be logged in to reply to this topic.