Ojs 2.4.8 blank page pdf

Hi,
The pdf files no loading in some journals, the path it is correct in the file config.in.php. And no log error is view, any idea of what can be?

Thanks!

Hi @franciscosatiro,

Essentially the file is not where OJS expects it to be or the file permissions aren’t permitting OJS to access it. You can check the exact location OJS is trying to find the file by adding a line like this…

error_log('Looking for file: ' . $filePath);

…to lib/pkp/classes/file/FileManager.inc.php in the downloadFile function (above the call to is_readable). Then check the error log after trying to view the file.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

I did not find the error log or the exact location of the ojs.

Hi @franciscosatiro,

I’m afraid I can’t help you with those – there’s a FAQ entry in this forum with some hints on finding your PHP error log, and the exact location of OJS will depend on how and where you installed it.

Regards,
Alec Smecher
Public Knowledge Project Team