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: Can't upload pictures with ImageMagick  (Read 5267 times)

0 Members and 1 Guest are viewing this topic.

poohfriends

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Can't upload pictures with ImageMagick
« on: October 22, 2003, 11:50:40 am »

Since I upgraded my windows 2000 to windows 2003, I can't upload pictures to coppermine. I use ImageMagick for converting the images. It worked without a problem in windows 2000. The error message that appears when I try to upload pictures is:

Warning: exec(): Unable to fork [C:/ImageMagick/convert -quality 80 -antialias -geometry 100x65 "modules\coppermine\albums\userpics\halloween\all01.jpg" "modules\coppermine\albums\userpics\halloween\thumb_all01.jpg"] in F:\WWW\www.poohfriends.com\public\htdocs\modules\coppermine\include\picmgmtbatch.inc.php on line 137
Error executing ImageMagick - Return value: -1

I guess the problem is in the windows security, but I've looked now for days to find the sollution, but can't find it.

Does anyone know where the sollution could be?

The php.ini file is configured in the right way.
Logged
Windows 2003 Server, IIS 6, PHPnuke 6.7, Coppermine 1.1D, ImageMagick, www.poohfriends.com

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
Windows security and imagemagick
« Reply #1 on: October 22, 2003, 01:08:23 pm »

well I don't know alot about the windows server but what I found on the web seems to point to permissions or the path make sure the path is absolute
Make sure the yourprogram.exe file in the TEMP folder has Read&Execute permissions for the IUSR_servername anonymous account.
and this bug report points to a safe mode prob http://bugs.php.net/bug.php?id=16542
but you've probably seen those already did you search the old forum :http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=219&highlight=unable+fork
http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=78&highlight=unable+fork
[/quote]

poohfriends

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Can't upload pictures with ImageMagick
« Reply #2 on: October 23, 2003, 10:44:15 am »

Thank you for your reply!

What do you mean by "yourprogram.exe file in the TEMP folder"? I can't find anything in the TEMP folder of windows. The IUSR_servername anonymous account has read & execute permissions in the folder of ImageMagick.
Logged
Windows 2003 Server, IIS 6, PHPnuke 6.7, Coppermine 1.1D, ImageMagick, www.poohfriends.com
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 18 queries.