Forums / Install & configuration / Imagemagick not working - but it should!

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.

eZ debug

Timing: Jan 18 2025 03:03:42
Script start
Timing: Jan 18 2025 03:03:42
Module start 'content'
Timing: Jan 18 2025 03:03:42
Module end 'content'
Timing: Jan 18 2025 03:03:42
Script end

Main resources:

Total runtime0.7151 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.8516180.8203
Module start 'content' 0.00600.5746 768.6719517.4453
Module end 'content' 0.58070.1344 1,286.1172341.4609
Script end 0.7150  1,627.5781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5728210.0002
Check MTime0.00140.1928210.0001
Mysql Total
Database connection0.00100.135710.0010
Mysqli_queries0.613485.77621940.0032
Looping result0.00180.24741920.0000
Template Total0.691596.720.3457
Template load0.00190.266520.0010
Template processing0.689596.419620.3448
Template load and register function0.00020.034810.0002
states
state_id_array0.00030.041710.0003
state_identifier_array0.00080.107920.0004
Override
Cache load0.00200.27791920.0000
Sytem overhead
Fetch class attribute can translate value0.00130.184630.0004
Fetch class attribute name0.00170.238830.0006
XML
Image XML parsing0.00060.084730.0002
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00400.5617210.0002
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs