Forums / Install & configuration / Did you get Imagemagick to work on hosted webservice (webhotell)?

Did you get Imagemagick to work on hosted webservice (webhotell)?

Author Message

mikael lindqvist

Thursday 23 January 2003 6:15:27 am

...could you then please email me your image.ini and image.ini.php file.

(I got ez2x to work fine but not ez3 and soon I'm going nuts, lol).

TIA,

Mikael
email: nostra@telia.com

mikael lindqvist

Thursday 23 January 2003 7:56:34 am

My ez site is at:

www.bd1.nu/zone1/index.php/user

click on gallery and then any of the links (landscape, flowers etc) and notice that no image is generated.

My image.ini.php code is as below (I have tried to change values of useconvert and usegd, plus I tried to change convertpath from /usr/local/bin/ to /usr/local/bin/convert), no luck.

<?php /* #?ini charset="iso-8859-1"?

[ConverterSettings]
UseConvert=true
UseGD=false

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

[OutputSettings]
AvailableMimeTypes=image/jpeg;image/png

[Rules]
DefaultRule=image/jpeg;convert
Rules[]=image/jpeg;image/jpeg;convert
Rules[]=image/png;image/png;convert
Rules[]=image/gif;image/png;convert
Rules[]=image/xpm;image/png;convert

[MimeTypes]
Types[]=image/jpeg;\.jpe?g$;jpg;
Types[]=image/png;\.png$;png
Types[]=image/gif;\.gif$;gif
Types[]=image/xpm;\.xpm$;xpm
Types[]=image/tiff;\.tiff$;tiff
Types[]=image/ppm;\.ppm$;ppm
Types[]=image/tga;\.tga$;tga
Types[]=image/svg;\.svg$;svg
Types[]=image/wml;\.wml$;wml
Types[]=image/bmp;\.bmp$;bmp
*/ ?>

/Mikael

> > ...could you then please email me your image.ini and
> > image.ini.php file.
> >
> > (I got ez2x to work fine but not ez3 and soon I'm going
> > nuts, lol).
>
> Why don't you show us your image.ini.php and the errors you
> get? This way, everyone else can learn from it.
>
> image.ini is only used when image.ini.php is not present!

mikael lindqvist

Thursday 23 January 2003 9:26:21 am

Well, I followed your directions but to no avail. The only thing that changed on my page was the fact that I didn't see the text "flowers" when I clicked on the link from Gallery section (only saw the "missing picture").

I also tried to remove the trailing / after bin...

...what to do, what to do ~ *big sigh*

> Take a look at:
> http://developer.ez.no/forum/message/13553
> maybe this can help you
>
> Regards,
> Jos van der Vleuten
> Walcheren-online.net

mikael lindqvist

Thursday 23 January 2003 10:25:41 am

Right, I just noticed the "debug" code on my ez site and I'm afraid that the messages look more intimidating than informative :(

But the question remains, is this the reason my images are not working on my site? (appears that other people with PHP 4.3 receive same error..)

> Some of you are getting this message:
>
> Warning: open_basedir restriction in effect. File is in
> wrong directory in
> /home/b/bd1/www/zone1/lib/ezutils/classes/ezsession.php on
> line 79
>
> This is a PHP 4.2.3 BUG, not a problem caused by Ez3. Some
> say it's source is safe_mode=on. To solve this, rewrite the
> Ez3 write routines or convince the provider to upgrade to
> php 4.3
>
> More info:
> http://bugs.php.net/bug.php?id=19292
> http://www.faqts.com/knowledge_base/view.phtml/aid/18472

mikael lindqvist

Thursday 23 January 2003 3:14:41 pm

Ack, well, as I said in the beginning of this posting. If anyone managed to get ez3 working nicely on a webhost please email me.

...of course, anyone else willing to help me feel free to email me :>

> > Right, I just noticed the "debug" code on my ez site and
> I'm
> > afraid that the messages look more intimidating than
> > informative :(
> >
> > But the question remains, is this the reason my images
> are
> > not working on my site? (appears that other people with
> PHP
> > 4.3 receive same error..)
>
> :( My GD is not working but I don't get open_basedir errors
> on php 4.3 on WinXP. My open_basedir has no value and
> safe_mode is off.
>
> Sorry, I thought I got it.

mikael lindqvist

Friday 24 January 2003 1:43:02 am

Klas, I take it that neither did you succeed to get the imagevariation to work on your webhost?

> > Some of you are getting this message:
> >
> > Warning: open_basedir restriction in effect. File is in
> > wrong directory in
> > /home/b/bd1/www/zone1/lib/ezutils/classes/ezsession.php
> on
> > line 79
> >
> > This is a PHP 4.2.3 BUG, not a problem caused by Ez3.
> Some
> > say it's source is safe_mode=on. To solve this, rewrite
> the
> > Ez3 write routines or convince the provider to upgrade
> to
> > php 4.3
> >
> > More info:
> > http://bugs.php.net/bug.php?id=19292
> > http://www.faqts.com/knowledge_base/view.phtml/aid/18472
>
>
> OH NO!!! I have this Problem with 4.3 too!!!

mikael lindqvist

Monday 27 January 2003 10:14:41 am

Well, it worked! :>

However I now receive a new error message:

Warning: open_basedir restriction in effect. File is in wrong directory in /home/b/bd1/www/zone1/lib/ezutils/classes/ezsession.php on line 79

I have no idea what that means (I have disabled cache in site.ini.php).

> [ConverterSettings]
> UseConvert=true
> UseGD=false
>
> [ShellSettings]
> ConvertPath=
> ConvertExecutable=/usr/local/bin/convert
> ...
>
> BR,
> Alex

Volker Lenz

Saturday 01 February 2003 3:46:48 am

Mikael, there's really a bug in ezp3-rc1 with image-magick path construction. I patched it yesterday.
Go there: http://developer.ez.no/forum/message/14028/

> ...could you then please email me your image.ini and
> image.ini.php file.
>
> (I got ez2x to work fine but not ez3 and soon I'm going
> nuts, lol).
>
> TIA,
>
> Mikael
> email: nostra@telia.com

eZ debug

Timing: Jan 18 2025 10:40:20
Script start
Timing: Jan 18 2025 10:40:20
Module start 'content'
Timing: Jan 18 2025 10:40:21
Module end 'content'
Timing: Jan 18 2025 10:40:21
Script end

Main resources:

Total runtime0.8473 sec
Peak memory usage4,096.0000 KB
Database Queries209

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.0859180.7891
Module start 'content' 0.00700.7082 768.8750595.1484
Module end 'content' 0.71520.1320 1,364.0234341.0313
Script end 0.8472  1,705.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.5171210.0002
Check MTime0.00170.2020210.0001
Mysql Total
Database connection0.00070.080310.0007
Mysqli_queries0.740687.41712090.0035
Looping result0.00250.29222070.0000
Template Total0.812395.920.4062
Template load0.00240.277520.0012
Template processing0.809995.596320.4050
Template load and register function0.00020.020010.0002
states
state_id_array0.00080.093610.0008
state_identifier_array0.00140.168420.0007
Override
Cache load0.00220.25421530.0000
Sytem overhead
Fetch class attribute can translate value0.00200.235930.0007
Fetch class attribute name0.00120.137090.0001
XML
Image XML parsing0.00100.116430.0003
class_abstraction
Instantiating content class attribute0.00000.001790.0000
General
dbfile0.00230.2712270.0001
String conversion0.00000.000930.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
21content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
14content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 46
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs