You are viewing the PKP Support Forum | PKP Home Wiki

Uploading files in step 3

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.

Uploading files in step 3

Postby Alamir » Mon Oct 04, 2004 10:13 am

Hi. Sorry, but have tried editing sql using trailing slash, and still same msg after trying to upload file:

Warning: mkdir(arq/2004): No such file or directory in /home/textopoe/public_html/admin/include/fileupload.php on line 61

Warning: move_uploaded_file(arq/2004/TP-2004-3.doc): failed to open stream: No such file or directory in /home/textopoe/public_html/admin/include/fileupload.php on line 75

Warning: move_uploaded_file(): Unable to move '/tmp/phpn1mEmA' to 'arq/2004/TP-2004-3.doc' in /home/textopoe/public_html/admin/include/fileupload.php on line 75

Ty for your help.
Posts: 1
Joined: Mon Oct 04, 2004 10:10 am

Postby kevin » Mon Oct 04, 2004 9:22 pm

It appears you do not have a complete path specified for the "files path" setting (chFilesPath in tbljournalconfig). It should be something like " /home/textopoe/aqr/" (note the complete path specification and trailing slash.
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Problems when uploading

Postby Ariel » Tue Oct 19, 2004 12:31 pm

Dear Kevin,

I have also problems when uploading file. I have controlled home directory and trailing slashes, but still the above error msgs. Any help?



Warning: mkdir(/home/edice/docus/2004): Permission denied in /home/edice/public_html/publicaciones/admin/include/fileupload.php on line 61

Warning: move_uploaded_file(/home/edice/docus/2004/EDICE-2004-5.pdf): failed to open stream: No such file or directory in /home/edice/public_html/publicaciones/admin/include/fileupload.php on line 75

Warning: move_uploaded_file(): Unable to move '/tmp/php6EwIGl' to '/home/edice/docus/2004/EDICE-2004-5.pdf' in /home/edice/public_html/publicaciones/admin/include/fileupload.php on line 75

Warning: Cannot modify header information - headers already sent by (output started at /home/edice/public_html/publicaciones/admin/include/fileupload.php:61) in /home/edice/public_html/publicaciones/include/functions.inc.php on line 59

trailing slash

Postby ramon » Tue Oct 19, 2004 1:25 pm


You should not edit the sql, but edit the configuration in the journal setup.

What Kevin mentioned happens during the installation of OJS (if not mistaken it´s step 3 or 4).

You may edit directly in the database if you have access to it, changing the field chFilesPath to "files/path/". The system needs the final slash (trailing slash) because it creates the folders in the server for the submission files.

You may also rerun install.php, skip the unnecessary steps and change only what is needed. Be careful with the password salt!!. You may want to copy it for protection.
Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 2 guests