Imagemagick not working - but it should!

Author Message

mikael lindqvist

Wednesday 22 January 2003 8:23:50 am

Two facts:

1. Imagemagick works fine on my ez 2-2-7-1 installation.

2. Imagemagick does not work on my ez 2.9-6 installation.

This is all I can say after having spent a full day pulling my hair.

I run ez publish on a webhost and since I got ez2x to work (path is /usr/local/bin/convert) I can safely conclude that Imagemagick works on the webserver.

So, rest of the day I spent trying out all of the different combinations of:

path1: /usr/local/bin/convert
path2: /usr/local/bin/
useGD: true
useGD: false

(I tweaked both image.ini and image.ini.php)

(yes, installed the demofiles during db setup, and I double checked my ezimage table: it is full off example images).

So, what the heck is wrong here?

The whole installation went very smooth apart from one thing: modefix.sh script which gave me error messages (see post http://developer.ez.no/forum/message/13646/)

However, the web-install (which I ran after unpacking the .tar.gz file and trying to run modfix) completed without errors or any warnings (except the "fine-tune" which kindly reminded me that the program couldn't find Imagemagick), just had to chmod a few files.

So, I'm completely stuck. Any input is much appreciated!

(you find my ez-site at www.bd1.nu/zone1/index.php/user)

Kindly,
Mikael

Stuart Fenton

Tuesday 28 January 2003 10:37:52 am

> Two facts:
>
> 1. Imagemagick works fine on my ez 2-2-7-1 installation.
>
> 2. Imagemagick does not work on my ez 2.9-6 installation.
>
> This is all I can say after having spent a full day pulling
> my hair.
>
> I run ez publish on a webhost and since I got ez2x to work
> (path is /usr/local/bin/convert) I can safely conclude that
> Imagemagick works on the webserver.
>
> So, rest of the day I spent trying out all of the different
> combinations of:
>
> path1: /usr/local/bin/convert
> path2: /usr/local/bin/
> useGD: true
> useGD: false
>
> (I tweaked both image.ini and image.ini.php)
>
> (yes, installed the demofiles during db setup, and I double
> checked my ezimage table: it is full off example images).
>
> So, what the heck is wrong here?
>
> The whole installation went very smooth apart from one
> thing: modefix.sh script which gave me error messages (see
> post http://developer.ez.no/forum/message/13646/)
>
> However, the web-install (which I ran after unpacking the
> .tar.gz file and trying to run modfix) completed without
> errors or any warnings (except the "fine-tune" which kindly
> reminded me that the program couldn't find Imagemagick),
> just had to chmod a few files.
>
> So, I'm completely stuck. Any input is much appreciated!
>
> (you find my ez-site at www.bd1.nu/zone1/index.php/user)
>
> Kindly,
> Mikael

It sounds like a very similar problem that I am currently having as well. Sorry I don't have a fix for it.

I tested image magic and the path by converting an image using there suggested test.

convert logo: logo.gif

I put the whole path in just to be sure my paths were working as well:

/home/local/bin/convert logo: logo.gif

I ran it in the terminal and it created a nice new image for me so the program is working and the path is correct.

I have all the usual settings

[ConverterSettings]
UseConvert=true
UseGD=false

[ShellSettings]
ConvertPath=/home/local/usr/bin
ConvertExecutable=convert

I have tried multiple combinations with no effect. I have also switched off caching and deleted all the cache files so that’s also not the problem.

Now what's really annoying is that it all worked happily until today and I haven't got a clue what I've done. So I reinstalled from scratch using the installer and doing it all manually. Put in the correct paths and image setup and it still doesn't work.

It has me at a loss.

If anyone has an answer to this I'd love to hear it as I'm now well and truly stuck.

Thanks.

mikael lindqvist

Tuesday 28 January 2003 10:54:57 am

Try this:

[ShellSettings]
ConvertPath=
ConvertExecutable=/home/local/usr/bin/convert

It worked for me (this tip came from Alex - see my latest post).

--Mikael

> > Two facts:
> >
> > 1. Imagemagick works fine on my ez 2-2-7-1 installation.
> >
> > 2. Imagemagick does not work on my ez 2.9-6
> installation.
> >
> > This is all I can say after having spent a full day
> pulling
> > my hair.
> >
> > I run ez publish on a webhost and since I got ez2x to
> work
> > (path is /usr/local/bin/convert) I can safely conclude
> that
> > Imagemagick works on the webserver.
> >
> > So, rest of the day I spent trying out all of the
> different
> > combinations of:
> >
> > path1: /usr/local/bin/convert
> > path2: /usr/local/bin/
> > useGD: true
> > useGD: false
> >
> > (I tweaked both image.ini and image.ini.php)
> >
> > (yes, installed the demofiles during db setup, and I
> double
> > checked my ezimage table: it is full off example
> images).
> >
> > So, what the heck is wrong here?
> >
> > The whole installation went very smooth apart from one
> > thing: modefix.sh script which gave me error messages
> (see
> > post http://developer.ez.no/forum/message/13646/)
> >
> > However, the web-install (which I ran after unpacking
> the
> > .tar.gz file and trying to run modfix) completed without
> > errors or any warnings (except the "fine-tune" which
> kindly
> > reminded me that the program couldn't find Imagemagick),
> > just had to chmod a few files.
> >
> > So, I'm completely stuck. Any input is much appreciated!
> >
> > (you find my ez-site at www.bd1.nu/zone1/index.php/user)
> >
> > Kindly,
> > Mikael
>
>
>
> It sounds like a very similar problem that I am currently
> having as well. Sorry I don't have a fix for it.
>
> I tested image magic and the path by converting an image
> using there suggested test.
>
> convert logo: logo.gif
>
> I put the whole path in just to be sure my paths were
> working as well:
>
> /home/local/bin/convert logo: logo.gif
>
> I ran it in the terminal and it created a nice new image for
> me so the program is working and the path is correct.
>
> I have all the usual settings
>
> [ConverterSettings]
> UseConvert=true
> UseGD=false
>
> [ShellSettings]
> ConvertPath=/home/local/usr/bin
> ConvertExecutable=convert
>
> I have tried multiple combinations with no effect. I have
> also switched off caching and deleted all the cache files so
> that?s also not the problem.
>
>
> Now what's really annoying is that it all worked happily
> until today and I haven't got a clue what I've done. So I
> reinstalled from scratch using the installer and doing it
> all manually. Put in the correct paths and image setup and
> it still doesn't work.
>
> It has me at a loss.
>
> If anyone has an answer to this I'd love to hear it as I'm
> now well and truly stuck.
>
> Thanks.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 19:38:28
Script start
Timing: Jan 30 2025 19:38:28
Module start 'layout'
Timing: Jan 30 2025 19:38:28
Module start 'content'
Timing: Jan 30 2025 19:38:28
Module end 'content'
Timing: Jan 30 2025 19:38:28
Script end

Main resources:

Total runtime0.0252 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.2578151.2266
Module start 'layout' 0.00720.0043 739.4844220.7344
Module start 'content' 0.01150.0123 960.21881,005.7578
Module end 'content' 0.02370.0014 1,965.976637.9922
Script end 0.0252  2,003.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002710.6797140.0002
Check MTime0.00114.3263140.0001
Mysql Total
Database connection0.00114.241210.0011
Mysqli_queries0.004618.237030.0015
Looping result0.00000.051010.0000
Template Total0.00114.210.0011
Template load0.00093.424710.0009
Template processing0.00020.765510.0002
Override
Cache load0.00062.501510.0006
General
dbfile0.00124.561680.0001
String conversion0.00000.038740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs