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
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

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: No registered users and 1 guest