Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: IM upload problem  (Read 2776 times)

0 Members and 1 Guest are viewing this topic.

wschom

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
IM upload problem
« on: June 30, 2004, 10:50:26 pm »

I get this error when uploading a file.

Warning: exec(): Unable to fork [""C:/Program Files/ImageMagick-6.0.2-Q16convert" -quality 80 -antialias -geometry 150x115 "D:/WebPics/./albums/edit/mHTTP_temp_74436322.jpg" "D:/WebPics/./albums/edit/preview_75064c5f.jpg""] in D:\WebPics\include\picmgmt.inc.php on line 152

This is a 2003 server. IM is installed and security is set to allow the two IIS accounts full control. The path is also correct.
I have tried installing IM to a directory without a space and have the exact same result.

Please help!
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: IM upload problem
« Reply #1 on: July 01, 2004, 01:26:20 am »

Try this thread.  http://forum.coppermine-gallery.net/index.php?topic=7271.0

Please search in future.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

alcazar

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: IM upload problem
« Reply #2 on: September 29, 2004, 09:43:06 pm »

Error executing ImageMagick - Return value: -1
Unable to fork

Reference from another gallery program (not sure if it is all necessary):

Two things that are Windows Server 2003 and IIS 6.0 specific:

First of all, during the uploading of a picture, gallery runs cmd.exe that runs ImageMagick\convert. The security identifier trying to add the converted picture to your gallery turns out to be NT AUTHORITY\NETWORK SERVICE and not IUSR_<server>. This means that in order to upload pictures that are larger than the specified thumbnail size (those that need to be resized) then you'll need to give "NETWORK SERVICE" "Write" access to your albums directory. It will already have "List Folder Contents" inherited from above.

I only needed to give CMD.EXE Read & Execute permissions for the IUSR_<server> in windows\system32 to make it all work.






Logged

oraculo

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 1
  • OrÁCuLO
Re: IM upload problem
« Reply #3 on: October 18, 2004, 06:08:13 pm »

Ok. I had the same problem (Under WinXP Pro + IIS + PHP + MySQL + ImageMagick) and I solved it by allowing read & execute permissions to IUSR_<SERVER> on cmd.exe file.

But I think it can be a security issue, don't ya think?

Anyone solved the problem somehow else?

Regards,
Logged
El OrÁCuLO te dijo lo que necesitabas oir
OrACLE told you exactly what you needed to hear
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.