Images are not working

Author Message

Alessandro Ranellucci

Friday 18 April 2003 9:50:31 am

They don't work with GD. Okay, I'm now using ImageMagick.

When viewing the article, I get this debug output:

Warning:
Apr 18 2003 16:42:32

Exec: convert -geometry "600x600>" var/storage/reference/image//phpbu8qDp jpg:var/storage/variations/image/p/h/p//phpbu8qDp, Err: , Ret: 1

Warning: PHP
Apr 18 2003 16:42:32

getimagesize(var/storage/variations/image/p/h/p/phpbu8qDp) [<a href='http://www.php.net/function.getimagesize'>function.getimagesize</a>]: failed to create stream: No such file or directory in /usr/www/eztest.primafila.net/web/ezpublish-3.0-1/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 211

Warning: PHP
Apr 18 2003 16:42:32

filesize() [<a href='http://www.php.net/function.filesize'>function.filesize</a>]: Stat failed for var/storage/variations/image/p/h/p/phpbu8qDp (errno=2 - No such file or directory) in /usr/www/eztest.primafila.net/web/ezpublish-3.0-1/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 226

Error:
Apr 18 2003 16:42:32

Could not create variation for var/storage/variations/image/p/h/p/phpbu8qDp

----

Note that image does exist in var/storage/original/ but doesn't in var/storage/variations, so I guess it is not related to permissions. I'd like to get some help! Thanks. Alessandro.

Alessandro Ranellucci

Monday 21 April 2003 2:29:00 pm

Okay.
My ImageMagick installation was bad, since it missed all delegates (I pointed out when I tried to run those "convert..." commands from the command line). Since I'm running on FreeBSD, I just compiled ImageMagick using the source tree in /usr/ports/graphics/ImageMagick.

--Alessandro.

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

Main resources:

Total runtime0.0332 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 588.1406151.2109
Module start 'layout' 0.00770.0055 739.3516220.7031
Module start 'content' 0.01310.0181 960.0547997.6953
Module end 'content' 0.03120.0020 1,957.750029.9922
Script end 0.0332  1,987.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00319.4293140.0002
Check MTime0.00123.5325140.0001
Mysql Total
Database connection0.00164.791110.0016
Mysqli_queries0.00257.388630.0008
Looping result0.00000.060310.0000
Template Total0.00144.310.0014
Template load0.00113.259110.0011
Template processing0.00031.053410.0003
Override
Cache load0.00061.953910.0006
General
dbfile0.00195.828680.0002
String conversion0.00000.026540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs