Hi!
I upgraded from 2.4 to 3.1.2. Almost all functions work (thanks to reading this forum ), apart from PDF.JS.
I can see PDFviewer window, but there is an error:
Missing PDF “https://…url…/plugins/generic/pdfJsViewer/pdf.js/web/228/439/”
The last two numbers refer to the file ID in database (not the filename).
What’s interesing, on the same page “Download” button works. It has link:
https://…url…/index.php/bpastudies/article/download/228/439/
Where should I look for the error? I think, pdf.js should get direct link to file, but maybe I’m wrong.
[EDIT]
I temporarily solved it changing line 18557 of pdf.js to:
var url = source.url.replace(‘plugins/generic/pdfJsViewer/pdf.js/web’,‘index.php/bpastudies/article/download’);
But I still don’t know where the source of the problem is.