weird problem w/ imagemagick

Having trouble installing serendipity?
Post Reply
jcostantino

weird problem w/ imagemagick

Post by jcostantino »

Ok, I installed s9y, everything is working except for a weird bottleneck (which I'll outline below) and Imagemagick not working correctly.

I had my path as c:\folder\folder\convert.exe and it was reporting that it finished making thumbnails and would complete normally. When I checked the thumbnail size, it was 0 bytes. I checked another thread that had 0 byte IM files and his solution wasn't effective on mine.

What I ended up doing was changing the path to "c:/folder/folder/convert.exe" and it works BUT it ends with this error message:

<blockquote> Unable to execute: "C:/Inetpub/wwwroot/gallery/magick/convert.exe -antialias -scale "110x110" "c:/inetpub/wwwroot/serendipity/uploads/house.jpg" "c:/inetpub/wwwroot/serendipity/uploads/house._Thumb.jpg"", error: , return var: 1</blockquote>

Even though it says it's failed, it still gives me an 11k thumbnail instead of a 0k thumbnail.

Does anyone know why this might be? I'm using the latest s9y build, PHP 4.3.10, ImageMagick 5.5.7 (I'm using that with Gallery) and it's running on Apache 1.3 and XP Pro.

Also, I can't seem to get the "index.php" to be loaded without having to spell out the entire URL like "www.blah.com/serendipity/index.php"

One last thing - it seems as though there is a pause of a few seconds between doing things in Serendipity - for instance if I change to the next page, it seems to stop and think for a while before going on. It does that when you click any kind of link. Gallery doesn't do that so it leads me to believe that I don't have something 100% right with s9y.

Any help would be greatly appreciated!
jcostantino

Post by jcostantino »

I think I solved my problem... I upgraded to 4.4 PHP (apache module) from the 4.x cgi-bin binary and that seems to have helped a lot.

I also fixed the problem with not showing index.php.
plumpen
Posts: 2
Joined: Sat Apr 21, 2007 12:05 pm

Re: weird problem w/ imagemagick

Post by plumpen »

Hi

I get the same error msg when i try to add media or rebuild thumbs:
jcostantino wrote:<blockquote> Unable to execute: "C:/Inetpub/wwwroot/gallery/magick/convert.exe -antialias -scale "110x110" "c:/inetpub/wwwroot/serendipity/uploads/house.jpg" "c:/inetpub/wwwroot/serendipity/uploads/house._Thumb.jpg"", error: , return var: 1</blockquote>
But in my case there is no thumbnail creation at all.
Im using
Win2003
php-5.2.1
mysql-5.0.37
serendipity-1.1.2
ImageMagick-6.3.3-8-Q16-windows-dll.exe

And yes, i am a noob at this ;)

Could anyone help me, please?

Best regards
Tommy
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: weird problem w/ imagemagick

Post by garvinhicking »

Hi!

Can you try what happens if you execute that command manually via a DOS command?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
plumpen
Posts: 2
Joined: Sat Apr 21, 2007 12:05 pm

Post by plumpen »

Hi Garvin
Thanks for your reply

I tested to run it from a command line and it worked just fine.

Best regards
Tommy
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Maybe the file permissions do not allow your IIS webserver user to execute the binary?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply