OJS Version: Upgraded from 3.4.0.10 to 3.5.0.5
PHP Version: PHP 8.x
Server Environment: cPanel / Apache
Description of the Issue:
After successfully completing a manual/terminal upgrade from OJS 3.4.0.10 to OJS 3.5.0.5 (php tools/upgrade.php upgrade), published article PDF galleys no longer open inline in the browser embedded viewer. Instead, clicking the PDF link forces a direct file download.
Troubleshooting Steps Already Attempted:
- Cleared both Data Cache and Template Cache via Administration and terminal (
php tools/clearCache.php). - Verified that
pdfJsVieweris enabled under Website Settings → Plugins. - Ran
php tools/upgrade.php upgradeagain to verify all core database migrations and default plugin files are up to date. - Checked
.htaccess—noContent-Disposition: attachmentheaders are present. - Tested across multiple browsers (Chrome, Safari, Incognito mode), but PDFs continue to download rather than display in the PDF.js canvas viewer.
Could anyone advise if there are specific asset compilation steps, database records, or permission adjustments needed for the PDF viewer plugin in OJS 3.5.0.5?