Review File Upload Error (OJS 3.1.2.1)

Hello!

We’re having an issue with our OJS, when an author upload a file as a Revision File, it cannot be downloaded and a 500 Internal Server Error appears. The file is located inside the host without any other problem and can be downloaded from there, but not from the OJS.

We asked our host about it and created an exception for another example, but it seems to be not fixed.

The error message is:
[Tue Oct 08 10:34:57.945376 2019] [proxy_fcgi:error] [pid 27570] [client NNNN…] AH01071: Got error ‘PHP message: PHP Warning: Zend OPcache API is restricted by “restrict_api” configuration directive in /usr/home/historia-actual0/www/Publicaciones/lib/pkp/classes/cache/FileCache.inc.php on line 59’
[Tue Oct 08 10:35:10.333618 2019] [proxy_fcgi:error] [pid 27990] [client NNNNN…] AH01071: Got error ‘PHP message: FileApiHandler: File articulos/journals/1//articles/1779/submission/review/revision/1779-1-5630-1-15-20191005.d does not exist or is not readable!PHP message: ojs2: 500 Internal Server Error’, referer: https://www.historia-actual.org/Publicaciones/index.php/hao/workflow/index/1779/3

Thank you all in advance.

Have a nice day,

Alberto.

Hello @Almar93
I saw that you have the same error log like me, did you repair it? Because i do not see any answer to your question.
my error log:

[Fri May 22 10:08:51.366020 2020] [php7:warn] [pid 155469] [client 100.25.33.240:44260] PHP Warning: Zend OPcache API is restricted by “restrict_api” configuration directive in /nfsmnt/hosting2_1/0/8/08939247-8219-4200-bdcd-13c6c34bf77b/scicell.org/sub/journals/lib/pkp/classes/cache/FileCache.inc.php on line 59

Lukas

what version of php are you using? did this happen suddenly or something else? for example after upgrading the OJS version.

Ghazi
Regards

We are using php 7.3.21, this happens since we started to use it and we have upgraded a few times, so I would not say it is because of the upgrade.

Thanks!