Hi there! I have a problem with submission file. When author submit a paper, nothing happen. I’m using OJS 2.4.8.5. Database server version 10.3.16-MariaDB, PHP version 5.6.40. Permission for files directory is 755
What’s the solution? Thank you
Hi there! I have a problem with submission file. When author submit a paper, nothing happen. I’m using OJS 2.4.8.5. Database server version 10.3.16-MariaDB, PHP version 5.6.40. Permission for files directory is 755
What’s the solution? Thank you
Hi there,
755 may or may not be the right permission for your directories, since it depends on who owns the directory. The directory needs to be writable by the user the PHP script runs as.
Your apache error log will have more details regarding the problem.
Cheers,
Jason
Hi @reza_chan,
Also, be careful not to put your files_dir
inside public_html
without protecting it somehow, or you may be at risk for malicious uploads. The best thing to do is keep your files_dir
outside public_html
.
Regards,
Alec Smecher
Public Knowledge Project Team
so, what is the best permission for files directory?
The error message :
[09-Jul-2019 10:59:43 America/New_York] ojs2 has produced an error
Message: WARNING: Cannot use a scalar value as an array
In file: /home/…/classes/journal/JournalSettingsDAO.inc.php
At line: 83
It depends on who owns the directory and whether or not you’re using security protocols like suEXEC or not. You should talk to your systems administrator for specifics.
Cheers,
Jason
I also experienced the same thing,
no submissions file uploaded
permission is 755…
Please help…