News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Can't upload pictures with ImageMagick

Started by poohfriends, October 22, 2003, 11:50:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

poohfriends

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.
Windows 2003 Server, IIS 6, PHPnuke 6.7, Coppermine 1.1D, ImageMagick, www.poohfriends.com

gtroll

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

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.
Windows 2003 Server, IIS 6, PHPnuke 6.7, Coppermine 1.1D, ImageMagick, www.poohfriends.com