Forums / Install & configuration / ImageMagick AutoSet but doesn't work

ImageMagick AutoSet but doesn't work

Author Message

Paolo Riva

Tuesday 29 March 2011 12:24:35 am

Hello Everybody,

I've a problem over an Ez Publish Installation on a professional shared hosting on web (Netsons).

I've installed correctly Ez Publish version 4.4, and during the installation Ez setup automatically ImageMagick with path the Hosting Provider told me.

After installation I try to upload an image, but it doesn't appear.

Anyone has any ideas?

Tnx a lot.

Paolo.

...And Now For Something Completely Different!

My WebSites:
PhotoItaly - http://www.photoitaly.net

H-Works Agency

Friday 01 April 2011 12:36:30 am

Did you try the "convert" command when logging with ssh on your hosting ?

Three possible answers :

- Hosting thru server config doesn't allow you to access "convert" command

- Hosting thru php config doesn't allow you to access cli from php

- You ImageMagick bin path is wrong in image.ini

EZP is Great

Paolo Riva

Thursday 07 April 2011 12:09:16 am

Hi H-Works,

just let me anticipate that I've not an SSH access to server because it's a shared server (netsons as I told you).

I asked to Netsons to tell me ImageMagick Path and they said me that is /usr/bin. I've used it and it doesn't work. Let me tell you that I've previously installed ImageMagick on my local machines and I've never had a problem.

So I think that we've to work on first and second possibilities. Just to tell you, if I use phpinfo() command ImageMagick doesn't appear in exts list.

Do you think should it be a php config problem? How could I solve it (by ask something to Netsons of course).

Currently I change, in this first release of my site, image conversion from ImageMagick to GD2, but obviously if I could I would like to use the first one lib.

Tnx a lot for your support.

Paolo.

...And Now For Something Completely Different!

My WebSites:
PhotoItaly - http://www.photoitaly.net

Gaetano Giunta

Thursday 07 April 2011 1:14:01 am

1. the imagemagick php extension is not used by eZP - it's an altogether different thing from the command line version. So no, checking in phpinfo if it's enabled or not makes no sense/difference. And you cannot fix it by changing php configuration.

2. if using GD works by settings imagemagick enabled to false, then ir's a good workaround, at least temporarily, for your site

3. if calling "/usr/bin/convert" from a php script does not work, then it's either a permission problem (apache does not have rights to execute that file), or maybe the provider disabled execution of php functions such as 'system' and 'exec'. You can double check that

ciao

Gaetano

Principal Consultant International Business
Member of the Community Project Board

Paolo Riva

Thursday 21 April 2011 6:15:17 am

Hi Gaetano,

Tnx a lot for your answer.

Currently I use GD and it works great so "No Problem"!

About ImageMagick I think that it's really a problem permission. I've tried to run in a php script "/usr/bin/convert" and in Log File I've a message error, so probably it's only a permission problem caused by my WebHosting Company Permissions.

I think I should ask them about it, and I'll report their answer.

Tnx a lot for your support (yours and others that help me with this problem).

Bye
Paolo.

...And Now For Something Completely Different!

My WebSites:
PhotoItaly - http://www.photoitaly.net

eZ debug

Timing: Jan 17 2025 23:56:28
Script start
Timing: Jan 17 2025 23:56:28
Module start 'content'
Timing: Jan 17 2025 23:56:28
Module end 'content'
Timing: Jan 17 2025 23:56:29
Script end

Main resources:

Total runtime0.9880 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.9688180.8281
Module start 'content' 0.00600.8395 769.7969603.0000
Module end 'content' 0.84550.1424 1,372.7969337.3750
Script end 0.9879  1,710.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.4168210.0002
Check MTime0.00140.1413210.0001
Mysql Total
Database connection0.00080.077610.0008
Mysqli_queries0.906191.71382020.0045
Looping result0.00240.24082000.0000
Template Total0.960697.220.4803
Template load0.00180.184920.0009
Template processing0.958897.047020.4794
Template load and register function0.00030.025610.0003
states
state_id_array0.00070.067210.0007
state_identifier_array0.00060.062620.0003
Override
Cache load0.00150.1557420.0000
Sytem overhead
Fetch class attribute can translate value0.00120.124640.0003
Fetch class attribute name0.00150.147570.0002
XML
Image XML parsing0.00150.148240.0004
class_abstraction
Instantiating content class attribute0.00000.001670.0000
General
dbfile0.00520.5262340.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs