Pdf.js viewer not working on ojs 3.3.0.8

after update my ojs fro 3.1.2.0 to 3.3.0.8 now i cant view any pdf only download it i’ve tried to reinstall the plugin also delete the cash but still not wroking

Hi @null_Byte,

I’m wondering if you might want to try the approach offered in this post:

Perhaps give that a try and see how it goes?

-Roger
PKP Team

yes the path in config.inc.php is correct

Hi @null_Byte,

Hmm… I’m unsure of what to suggest at this point. Hopefully someone else might be able to make a suggestion as to what to try next.

-Roger
PKP Team

Hi @null_Byte,

Have you manually tried to update the version of the PDF.js viewer included in the OJS plugin? It looks like something is missing there. I would suggest going back to the stock version that came with your OJS release.

Regards,
Alec Smecher
Public Knowledge Project Team

@asmecher I have same Issue on OJS 3.1.2 The PDF its show up but after Upgrade to 3.2.0.0 i cant view any pdf only download it and i also have try this suggestion : Update pdf.js library to the latest version · Issue #69 · pkp/pdfJsViewer · GitHub but its still not working

Hi @Fauji_Nurdin,

I suspect any modifications or attempts to update pdf.js are probably confusing things further. Your best path is probably to revert any changes you’ve made, and then upgrade OJS to a newer release; OJS 3.2.0.0 is now quite obsolete. I’d recommend using the latest LTS release. You’ll get a newer PDF.js just by doing that.

Regards,
Alec Smecher
Public Knowledge Project Team