Plugins keep loading and loading and loading

Hi,

We have just survived our upgrade to 3.5.0-5 from 3.3.0.13 (as a staging site in a subdomain) As I am inspecting the site, I arrived at the plugins tab in Ste Settings (admin view), and while the Plugin Gallery shows, the installed plugins don’t. I have looked into an earlier post in this form ( OJS Installed Plugin Keeps Loading ), so I also looked in the error log, and saw the following:

[Wed Jul 15 16:46:34.227153 2026] [autoindex:error] [pid 2104971:tid 2105184] [client 185.93.89.147:57244] AH01276: Cannot serve directory /home/pressuto/public_html/plugins/generic/pdfJsViewer/pdf.js/: No matching DirectoryIndex

I went to the directory and navigated to plugins/generic/pdfJsViewer, and it was there on both the production and staging sites. The problem is that even in the staging site, it is pointing to the production site (OJS 3.3). Is there a PHP, JS, or HTML script in the 3.5 where I can have it point to the corresponding plugin directory in the staging directory?

Many thanks! – @asabhar

PS: I checked back and it is still loading away :slight_smile:

update: I did notice that despite the continuous loading, this plugin (located in the 3.3 site) actually works in 3.5 as well. The problem may be that the script uses a full (absolute) path to the plugin, which does not help if you are trying to run 3.5 in a staging subdomain because this setup does not allow testing the 3.5 with its new set of plugins. I’ll keep looking for the script file in core to see if the path can be changed there. Luckily, we are not in a hurry to switch after all…

I had similar issue when Upgrading from 3.4 to 3.5. I highly recommend when upgrading to 3.5 is 1 increase the load time, and post time for PHP. 2 remove the old plugins before upgrading the staging site,3 take multiple copies of the database.

I was able to remove all plugins before upgrading and then installed it once done. :slight_smile:

Thanks. I am running two OJS versions (3.3 and 3.5) side by side – 3.5 in the main domain, 3.5 in a subdomain. Because our publishers are still using 3.3 until we are set to cut over (maybe in the Fall), I could not really remove the plugin. I assumed that the new plugins coming with the 3.5.0.5 will be up-do-date and work in the new OJS. Surely, I can copy the plugins from 3.3 to 3.5 but the problem is that the plugin tab is looking for the plugin folders for which there is an absolute path (URL) instead of a relative one, which would automatically point to the plugins in the 3.5 installation. Instead, it is pointing to the one in 3.3 which we are still using.

To my surprise, the PDF viewer in 3.3 is still working in 3.5 but what about those that no longer do? I was planning to use the plugin compatibility table : PKP Plugins List but I cannot even get the plugins in 3.5 to appear (except in the gallery). Well, at least we can continue with 3.3 until I find the php file where this could be changed and changed back after we cut over to 3.5. Thanks for your input though.

Update: I may have fixed this issue. Since it was my host that did the installation, they probably forgot to back up the plugins directory and then copy that into the new installation’s plugins directory. Instead, the old plugins from 3.3 was still in the 3.5 installation, but the error log was confusing because it made it look like the new system was pointing to the 3.3 directory. Manually compressing the plugins subdirectory in the installation directory (3.5.0.5) and then extracting in the new location (within the dev subdomain) solved that problem.