Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.
Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher
What to do if you have a technical problem with OJS:
1. Search the forum
. You can do this from the Advanced Search Page
or from our Google Custom Search
, which will search the entire PKP site. If you are encountering an error, we especially recommend
searching the forum for said error.
2. Check the FAQ
to see if your question or error has already been resolved.
3. Post a question
, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion
subforum; if you have a development question, try the OJS Development
I am at the testing stage of OJS and did all the setup and configurations without a problem.
Afterwards I created a author account and started the submission process. When I wanted to upload a file to the OJS, this error came up at the top of the browser page:
Warning: chmod() has been disabled for security reasons in /home/fotonega/public_html/journal/classes/file/FileManager.inc.php on line 362
Warning: move_uploaded_file(/home/fotonega/public_html/journal/files/journals/1/articles/3/submission/original/3-8-1-SM.doc) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/fotonega/public_html/journal/classes/file/FileManager.inc.php on line 95
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php1s3Ber' to '/home/fotonega/public_html/journal/files/journals/1/articles/3/submission/original/3-8-1-SM.doc' in /home/fotonega/public_html/journal/classes/file/FileManager.inc.php on line 95
Warning: Cannot modify header information - headers already sent by (output started at /home/fotonega/public_html/journal/classes/file/FileManager.inc.php:362) in /home/fotonega/public_html/journal/classes/template/TemplateManager.inc.php on line 187
- Posts: 2
- Joined: Thu Nov 29, 2007 1:11 am
This is a server configuration problem.
Apparently PHP does not have permission to use the chmod comand to change file permissions.
Check first what user/group is running apache with ps -ef | grep apache.
Then, change the owner/group of OJS to that user.
Afterwards, settting permissions to 755 (775 at the most) should be enough.
If this doesn't solve the problem, you should contact the server administrator for support.
Some host providers remove basic functions out of lazyness...
- Posts: 945
- Joined: Wed Oct 15, 2003 6:15 am
- Location: Brasília/DF - Brasil
Return to OJS Technical Support
Who is online
Users browsing this forum: No registered users and 1 guest