Forums / Install & configuration / Image problem with ezpubish 3.9 on mac [solved]

Image problem with ezpubish 3.9 on mac [solved]

Author Message

Gerhard Sletten

Monday 15 January 2007 5:33:07 am

Been messing around trying to install the latest version of ezpublish on my mac at the office. Took me some time to figure it out, so I thought I might share it with others. Most of the problem originated from the fact that my convert shell commmand didn't work, so if you experience that you new 3.9 installation with ezwebin don't show images, please check this. Simply write "convert" into terminal.app.

<b>LAMP requirements:</b>
- Installed latest MYSQL package from http://dev.mysql.com/downloads/mysql/5.0.html
- Downloadet PHP 4.4 source from php.net and followed this recipe http://www.kyngchaos.com/macosx/install/php (more and less, I didn't care of the spesial libs)
- Had to change the etc/php.ini: "mysql.default_socket = /tmp/mysql.sock"

<b>ImageMagick convert command</b>
Think the easiest way to install this is with Fink. Download it from their homepage at http://fink.sourceforge.net/download/
The Fink download include Finkcommander, which you drop into you Application folder. Finkcommander is an GUI interface for Fink, where you can seach for ImageMagick and choose to install it from either source or binary. I went for the binary.

If you open Terminal.app now, convert should work. Run "which convert" and it will inform you where convert is located. Put this information into "settings/override/image.ini.append.php:

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

[ImageMagick]
IsEnabled=true
ExecutablePath=/usr/bin/
Executable=convert
*/ ?>

Clear the cache, and it should work!

Gerhard Sletten
www.gersh.no - Software
www.gerhardsletten.no - Blog

Jérôme Vieilledent

Friday 16 November 2007 10:44:22 am

I had a problem with ImageMagick installed with MacPorts and thanks to your post I found out that EZP needs ImageMagick to be installed in /usr/bin.
So for IM to work with EZP, if you install it with MacPorts :

Open the terminal and type :

sudo port install ImageMagick

Then make find where MacPorts installed IM and link the <i>convert</i> bin to /usr/bin :

which convert
--> /opt/local/bin/convert (do not type this line !)
sudo ln -s /opt/local/bin/convert /usr/bin

You'll probably be prompted for your admin password

If you have installed IM with true MacOSX binary (distributed on the IM website), you also should do the link.

eZ debug

Timing: Jan 18 2025 16:25:09
Script start
Timing: Jan 18 2025 16:25:09
Module start 'content'
Timing: Jan 18 2025 16:25:10
Module end 'content'
Timing: Jan 18 2025 16:25:10
Script end

Main resources:

Total runtime0.7784 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.3906180.8047
Module start 'content' 0.00610.6463 770.1953547.6719
Module end 'content' 0.65240.1260 1,317.8672332.7188
Script end 0.7784  1,650.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.5003210.0002
Check MTime0.00140.1821210.0001
Mysql Total
Database connection0.00100.125110.0010
Mysqli_queries0.711191.34861910.0037
Looping result0.00180.22961890.0000
Template Total0.756097.120.3780
Template load0.00180.227520.0009
Template processing0.754296.888420.3771
Template load and register function0.00010.012210.0001
states
state_id_array0.00070.085110.0007
state_identifier_array0.00110.138120.0005
Override
Cache load0.00150.1907250.0001
Sytem overhead
Fetch class attribute can translate value0.00150.191530.0005
Fetch class attribute name0.00110.138840.0003
XML
Image XML parsing0.00130.165730.0004
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00230.2916340.0001
String conversion0.00000.000530.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs