PDA

View Full Version : EE RC2,windows 2003 IIS6 & Imageick


ohmic
18th of March 2004 (Thu), 05:11
Heya,

Well after some serious effort I got my windows 2003 IIS server up and running with EE and it works great.. BUT...:)

I am attempting to use Imagemagick and under the editor graphics modules sections where you are able to put in the path to imagmagick "convert" program I keep getting "PATH NOT VALID" as below.

Imagemagic is installed at c:\ImageMagick I put it here originally thinking it didn't like spaces in file path. ie "C:\Program Files\ImageMagick"

Anyone got any ideas?? Or got this working under win32?

I tried the standard add .exe remove it.. do relative path absolute path etc... starting to wonder if it at all possible to get Imagemagic win32 and EE RC2 to work together.

Version of ImageMagick I used was: ImageMagick-5.5.7-Q8-windows-dll.exe

Also getting the same problem with the 'composite' path.


PATH NOT VALID! INFO: for Windows use / instead of \ slashes in path!.
In most systems simply 'convert' or 'convert.exe' (without quotes) will work nicely.
Convert is used for resizing and sharpening.

Cheers Ohmic

Pekka
19th of March 2004 (Fri), 16:51
In Windows you have to show full path to executable with .exe, e.g.

C:/Program Files/ImageMagick-5.5.7-Q8/convert.exe

Note the slash type.

ohmic
21st of March 2004 (Sun), 21:47
Pekka,

Looks like it is an IIS security issue.

By default and rather good reason microsoft doesn't allow access to c:/windows/system32/cmd.exe which is required when running a exec/system command.

The resolution to this if people REALY want to open up a large can of worms is to give the user: IUSR_<MACHINE NAME> (ISS user) read/execute access to the cmd.exe file.

Cheers Ben.