You are viewing the PKP Support Forum | PKP Home Wiki

Can't Upload Documents

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Can't Upload Documents

Postby elmborg » Wed May 25, 2005 9:10 am

Experiementing with OJS, we're finding that uploading documents through the submission function fails without error messages. It appears that all is working fine. The system assigns an internal I.D. to the document, but the file isn't actually uploaded and trying to retrieve it through the system opens an empty file.

My first thought was permissions are wrong on the upload folder, and sure enough, when I re-run install.php, I give it the location /home/ojs/journal_files/ as the working directory, and at the final step, it tells me the directory is not writeable. The correct directory exists and is correctly named in this message. I have done chmod 777 -R on the directory and even changed the owner to apache. No luck. The system still sees the directory as unwriteable. Could be something simple, but I sure can't see it.

I"m running ojs on Fedora Core 3 Linux. In all other ways, the software behaves beautifully.

Any advice much appreciated,
Jim Elmborg
Posts: 7
Joined: Wed Jan 05, 2005 9:14 am

Postby kevin » Wed May 25, 2005 8:15 pm

Check the permissions on the parent directories (i.e., /home/ojs). The parent directories of a directory need to be at least world-executable (read/write is unnecessary) for that directory to be accessible (assuming the parent directories are not owned by the Apache user, else substitute user/group executable).

The only other thing that comes to mind are PHP's safe mode restrictions, which can also restrict access to directories outside of the Apache documents tree.
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest