Problems with ImageGD?

Author Message

Dag Fossmo

Tuesday 13 January 2004 1:32:19 pm

Hi, I just installed ez-publish on our webserver and get error messages when I try to access the user sites.

"Fatal error: Call to undefined function: imagecreatetruecolor() in /home/roleplay/html/ez/ezpublish-3.3-1/lib/ezimage/classes/ezimagegdhandler.php on line 717
Fatal error: eZ publish did not finish it's request
"

I'm thinking that there's something wrong with the users access to the php-libraries for ImageGD, but I don't have any in-depth knowledge about it, so I was wondering if anybody have seen this one before or know what might be the problem.

Thanks

Kåre Køhler Høvik

Wednesday 14 January 2004 12:05:57 am

Hi

You've probably got ImageGD 1.x installed. We recommend using ImageMagick, but ImageGD2 will work as well. GD2 check will be added to version 3.3-2

--
Kåre Høvik

Kåre Høvik

Marco Zinn

Wednesday 14 January 2004 12:44:43 pm

I agree with Kore.
The GD functions, that ez3 is using (like imagecreatetruecolor) need GD 2.0.
If you have an older version installed, you will not get the image working (talking about version 3.3).
ezPublish 3.2 MIGHT work with a lesser GD version, as there was a new imagesystem introduced in 3.3.
Can someone at ez confirm this?

ez... do you really need the truecolor functions of GD? ;) See my bug report.

Marco
http://www.hyperroad-design.com

Jan Borsodi

Wednesday 14 January 2004 2:32:43 pm

ImageCreateTrueColor() is required to handle conversion from JPEG (mostly truecolor) and some PNGs (can be truecolor). If not we would have to convert from true color to a palette based (max 256 colors) which will require dithering, and trust me you don't want dithered images on your site.

The second thing to consider is that there has been lots of bugs in earlier GD versions, if you want something stable I would recommend the latest one.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 18 2025 19:21:50
Script start
Timing: Jan 18 2025 19:21:50
Module start 'layout'
Timing: Jan 18 2025 19:21:50
Module start 'content'
Timing: Jan 18 2025 19:21:51
Module end 'content'
Timing: Jan 18 2025 19:21:51
Script end

Main resources:

Total runtime0.9057 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.0469152.6250
Module start 'layout' 0.00720.0043 741.671939.4609
Module start 'content' 0.01150.8926 781.1328628.7422
Module end 'content' 0.90420.0015 1,409.875012.1719
Script end 0.9057  1,422.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4221160.0002
Check MTime0.00140.1574160.0001
Mysql Total
Database connection0.00180.194010.0018
Mysqli_queries0.844193.1934640.0132
Looping result0.00060.0705620.0000
Template Total0.866995.720.4334
Template load0.00240.267920.0012
Template processing0.864495.439720.4322
Template load and register function0.00020.022310.0002
states
state_id_array0.00350.383610.0035
state_identifier_array0.00200.224720.0010
Override
Cache load0.00190.2151270.0001
Sytem overhead
Fetch class attribute can translate value0.00100.109140.0002
Fetch class attribute name0.00150.164170.0002
XML
Image XML parsing0.00190.208140.0005
class_abstraction
Instantiating content class attribute0.00000.001970.0000
General
dbfile0.00110.1260280.0000
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
4content/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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs