if I manually upgrade a plugin it doesn’t show up in the list of installed plugins (e.g. Hypothes.is in the gallery is version 220.127.116.11 but on github is already version 18.104.22.168)
Where could be the problem?
I have OJS version 22.214.171.124 installed
Is there a reason why you’re upgrading manually and not via the plugin gallery (which is the safest and preferred method)?
well, I just tried it, the plugin in the gallery version doesn’t work well.
Problems showing our pdf files
Hmmm… not totally sure. @asmecher - any insights on this one - or would you need error log messages to determine further as to why this is not installing via the gallery? I note that the v1_0_5-0 release for the hypothesis plugin that is pointed to is for 3.4, but it would have backwards compatibility for 3.3, no?
I don’t recommend installing the plugin from Github manually, but if you do, you’ll need to make sure you correctly initialize the submodule that includes the actual PDF.js viewer. If you install using the Plugin Gallery, the PDF.js viewer will already be included so you won’t need to take care of that step.
If you’re still seeing the problem in the linked thread (404 Not Found), check to ensure that
plugins/generic/hypothesis/pdf.js/viewer/web/viewer.html exists in your OJS installation directory. It should be there as part of the plugin installed by the plugin gallery.
I note that the v1_0_5-0 release for the hypothesis plugin that is pointed to is for 3.4, but it would have backwards compatibility for 3.3, no?
No, it’s not safe to install plugins intended for newer versions of OJS/OMP/OPS in older versions. This is one of the big protections provided by the Plugin Gallery – it ensures that you are installing a version of the plugin that’s compatible with your OJS/OMP/OPS.
Public Knowledge Project Team
This topic was automatically closed after 9 days. New replies are no longer allowed.