Image Uploading Error

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

Forum rules
The Public Knowledge Project Support Forum is moving to

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.
Posts: 30
Joined: Thu Aug 03, 2006 7:31 am
Location: India

Image Uploading Error

Postby abhiram » Fri Oct 13, 2006 3:54 am

currently , am using ojs 1.11, but i couldnt upload jpeg file as journal image ( we are using shared server ) . The errors are

Warning: mkdir(public/journals/4): Permission denied in /home/ejtropag/public_html/classes/file/ on line 234

Warning: move_uploaded_file(public/journals/4/homeHeaderTitleImage.jpg): failed to open stream: No such file or directory in /home/ejtropag/public_html/classes/file/ on line 95

Warning: move_uploaded_file(): Unable to move '/tmp/phpZNtNbi' to 'public/journals/4/homeHeaderTitleImage.jpg' in /home/ejtropag/public_html/classes/file/ on line 95

Warning: Cannot modify header information - headers already sent by (output started at /home/ejtropag/public_html/classes/file/ in /home/ejtropag/public_html/classes/template/ on line 187

Looking forward your reply

Thanks and Regards
Abhiram. H

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby asmecher » Fri Oct 13, 2006 5:38 am

Hi Abhiram,

It looks like your "public" directory is not writable by the web server. Check to make sure that it has write access to the public directory and its contents and any subdirectories (e.g. using chmod -R ...). Additionally, if you're still using a host with the safe mode UID check (see, you'll still have to correct this problem before OJS will properly be able to create directories.

Alec Smecher
Open Journal Systems Team

Return to “OJS Technical Support”

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests