OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



unable to upload images

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.

unable to upload images

Postby Wayne Johnston » Thu Aug 12, 2004 11:40 am

We are able to upload HTML files withouth any problem but are unable to upload the associated image (jpg) files.
We get the following messages.

"Warning: Unable to create '/var/www/html/ojs/images/articleimages/CSI/EC-2004-14-image001.jpg': No such file or directory in /var/www/html/ojs/admin/include/galleyupload.php on line 213

Warning: Unable to move '/tmp/phpnPdw8N' to '/var/www/html/ojs/images/articleimages/CSI/EC-2004-14-image001.jpg' in /var/www/html/ojs/admin/include/galleyupload.php on line 213"

There are a couple of things about this that seem odd to me.
One is that it references "*image001.jpg" even when the image I am trying to upload is "*image002.jpg".
The other is that I would expect these images to be in a subfolder of the directory where the articles are uploaded rather than where the OJS PHP files are stored.

Any suggestions you can give would be much appreciated.
Wayne Johnston
 

Postby kevin » Thu Aug 12, 2004 7:51 pm

If you entered "CSI/EC" as the journal initials in setup, that is likely the problem. The initials are prepended to uploaded files, but the "/" is interpreted as a directory separator.
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Can't upload graphic file.

Postby LuisRazon » Mon Jan 17, 2005 10:22 pm

Hello all.

We're trying to set up our journal and we can't seem to be able to upload a graphic for step 5.2 "Homepage Content".

When we do, we get this error message. Thanks for the help.

Warning: move_uploaded_file(D:\web\ojs.dlsu\jrsce\docs/images/custom/ojs_home_toc.gif): failed to open stream: Permission denied in D:\web\ojs.dlsu\jrsce\docs\admin\editor\step5.php on line 145

Warning: move_uploaded_file(): Unable to move 'C:\PHP\uploadtemp\php148.tmp' to 'D:\web\ojs.dlsu\jrsce\docs/images/custom/ojs_home_toc.gif' in D:\web\ojs.dlsu\jrsce\docs\admin\editor\step5.php on line 145
LuisRazon
 
Posts: 1
Joined: Mon Jan 17, 2005 9:51 pm

Wrong system address

Postby ramon » Wed Jan 19, 2005 2:14 pm

It seems to me you typed a drive folder address instead of a webserver address..

If you're using Windows you should place http://localhost/nameoffolder/ as your site address...
ramon
 
Posts: 927
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: Yahoo [Bot] and 2 guests