error configuring imagemagick: "Problem executing binar
mh
Joined: 2005-01-05
Posts: 4 |
Posted: Wed, 2005-01-05 22:59 |
hello, first i would like to thank you for the work you've all done so far with gallery 1 and 2. last night i decided to finally try out g2 for the first time. i downloaded the new alpha 4 and everything went smoothly until i tried to configure imagemagick. i typed the path to the binaries and hit 'test settings', and came up with this: Quote:
ImageMagick binary test results i chmodded them all to 755 so i do not know what the problem is. ---- |
|
Posts: 7994
Try upgrading to the latest nightly snapshot from here and
see if that resolves your problem for you. We've made a
lot of improvements since the alpha-4 release and may well
have resolved this problem already.
If that doesn't work, try turning on buffered debug mode:
Edit your config.php and turn on buffered debug mode like this:
$gallery->setDebug('buffered');
Then try 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).
Posts: 4
the nightly build doesnt seem to have fixed it. i tried turning on debug mode as you suggested but i am not seeing any debug output. any idea why it isn't showing up?
Posts: 3236
Did you actually try and upload a file? You sure you saved the config.php? Did you turn it on by putting 'buffered' in the setDebug variable? Was there a # in front of the line (if so, delete the # it means its a comment and keeps the line from being processed)?
Posts: 4
alright, the debug info is showing up now.
here is the error output.. this repeats for each of the binaries.
it says that the file or directory doesn't exist, but it does..
Posts: 7994
Create a one liner script like this (put it in gallery2/test.php):
<?php system("ls -al /users/arcynic"); ?>
<?php system("ls -al /users/arcynic/imagemagick"); ?>
open that in your browser. What do you see?
Posts: 4
it's just showing a blank page.. http://arcynic.net/gallery2/test.php
Posts: 7994
I can't get to the server right now to see the results of that page. Is the server up?
I'd check the Apache error logs and see what happens there; if that path exists then it really should show something.
Try experimenting with other paths ("/" and "/users") and see what they show, if anything.
Posts: 11
i have this same problem with IIS6, the latest nightly of Gallery2, and PHP 5.0.3. My advanced debug shows an error similar to this for each imagemagick and netpbm binary:
file_exists(C:\Inetpub\wwwroot\public\ImageMagick-6.1.8-Q16\identify.exe)
Executing: cmd /c "
"C:\Inetpub\wwwroot\public\ImageMagick-6.1.8-Q16\identify"
"C:\Inetpub\wwwroot\public\gallery2\modules\imagemagick\classes\..\test\data\test.gif"
2> "D:\tmp\g2d6F.tmp" "
file_exists(D:\tmp\g2d6F.tmp)
filesize(D:\tmp\g2d6F.tmp)
unlink(D:\tmp\g2d6F.tmp)
Regular Output:
Error Output:
Status: -1 (expected 0)
most helpfully, every regular and error output line is blank. has anyone had success with making this work on IIS6? i've even gone to the extent of granting "everyone" admin privileges on these binaries, so i don't think it's a permissions error.
thanks,
Andrew
Posts: 7994
androidtopp, your problem appears similar but is totally different. Would you please post this in a new topic? Thanks.
Posts: 11
yes, i will. i thought it was the same.
Posts: 36
Is this problem solved? I seem to have the same issue (including blank page)
Posts: 32509
henkbos, please create a new topic, supply all the information we're asking for and then, maybe, we can find out what's wrong with your installation.
the above commands / instructions are specific to this user's server and won't work for anyone else (specifically <?php system("ls -al /users/arcynic"); ?>
<?php system("ls -al /users/arcynic/imagemagick"); ?>)