Describe the issue or problem
I have a version Current version: 3.4.0.5 I have problem uploading a pdf file for the article, and also other problem I cannot upload volume cover image
you will find the error description in the attachments
config.inc.php
I checked the config.inc.php file and the directory
files_dir = /home/xxxxx/public_html/archive/files
and configure well

Hi @mebarkimerouanedz,
Beware: your installation is likely insecure! Your files_dir
should not be inside your web root (public_html
in your case). This is noted in the configuration file, on the installation form, and in the installation instructions. It’s likely to get your installation hacked.
Regards,
Alec Smecher
Public Knowledge Project Team
no the platform is not hacked it is a problem right for authorized upload
Hi @mebarkimerouanedz,
If it is not hacked yet, it will be. Make sure to move the directory outside of public_html
ASAP.
As for the HTTP Error
message, check your PHP error log for details.
Regards,
Alec Smecher
Public Knowledge Project Team
ok where can i find the error log i use cpanel
Hi @mebarkimerouanedz,
This will depend on your server, but see e.g.:
Regards,
Alec Smecher
Public Knowledge Project Team
[Thu Jul 25 00:54:17.469741 2024] [autoindex:error] [pid 29125] [client 197.206.212.188:51221] AH01276: Cannot serve directory /home/*****/ojs.atras-univ-saida.dz/: No matching DirectoryIndex
despite the directory exists
Hi @mebarkimerouanedz,
That looks like the web server error log (Apache or equivalent), not the PHP error log. Depending on the server’s configuration, these might be the same file or different. In any case, that doesn’t explain the error message you’re receiving; there should be another error message corresponding to the HTTP Error
.
Regards,
Alec Smecher
Public Knowledge Project Team