imagmagick/netpbm
podexperfectussum
Joined: 2005-01-26
Posts: 3 |
Posted: Thu, 2005-01-27 19:02 |
I can't get imagemagick or netpbm to work with gallery. I've tried at least two different versions of each, my latest attempt was with NetPBM 10.18.4 and Imagemagick 5.5.7 Q16. I've tried it with PHP running as both an ISAPI and a CGI. I downloaded the latest version of NetPBM and ImageMagick and tried those too. I've also downloaded the netpbm binaries from the gallery download page and tried those. I don't believe permissions to be an issue, iwam, iusr, and the network service accounts have read & execute on the php binaries, the imagemagick and netpbm binaries as well as cmd.exe. I've also added web service extensions and set them to allowed for all of the above. it almost seems like gallery doesn't want to play with windows executables, but I know that's not true because an IRC acquantance was able to get imagemagick to work properly with win32 Apache2 and gallery. I ran gallery in buffered mode with php as an isapi and got the following when I tested imagemagick and netpbm: gallery running with php as cgi: in either case, the actual errors that gallery gives are similar: now, when php's running as cgi, gallery actually produces an error at the bottom of the page. it's similar for both and appears in the debug output that I linked to earlier. I have searched the forum, and I saw that others on different platforms were having similar problems, but whatever fixed it for them didn't fix it for me, which is why I'm posting. ---- |
|
Posts: 7994
Edit your config.php and turn on buffered debug mode like this:
$gallery->setDebug('buffered');
Then try testing your graphics toolkits again. This time, you'll get quite a lot of debug output when you get the error. Look towards the bottom of the debug output and scan backwards for anything that looks like an error, then report that here. Usually that will give us enough information to work with. If you can't understand what you're seeing, err on the side of posting more info. If it's going to be more than 30-40 lines of output, you should save it into a text file and publish it on your own website and post a link to it here (so that the forum remains readable).