Imagevariation - here we go again :>

Author Message

mikael lindqvist

Tuesday 15 April 2003 12:49:43 pm

Ok, I have changed the override config so that convert is true (my webhost use ImageMagick).

When I load ezpublish I get this debug message: Appreciate if anyone can help me make any sense of it (it seems that it doesnt find the image, but I have indeed installed the sample database from setup).

Debug---------->

Timing: Apr 15 2003 21:50:37
Script start
Warning: PHP Apr 15 2003 21:50:37
session_module_name() has been disabled for security reasons in /home/m/myportal/www/ezpublish-3.0-1/lib/ezutils/classes/ezsession.php on line 133
Timing: Apr 15 2003 21:50:37
Module start 'content'
Warning: eZModuleOperationInfo::execute Apr 15 2003 21:50:37
Missing main operation memento for key: fd128e18a27da2af370bf4b44be4c539
Debug: Apr 15 2003 21:50:37
cache used #1
Warning: Apr 15 2003 21:50:37
Exec: convert -geometry "150x150>" var/storage/reference/image//a72o2K.jpg jpg:var/storage/variations/image/a/7/2//a72o2K_150x150_213.jpg, Err: , Ret: 127
Warning: PHP Apr 15 2003 21:50:37
getimagesize(var/storage/variations/image/a/7/2/a72o2K_150x150_213.jpg) [<a href='http://www.php.net/function.getimagesize'>function.getimagesize</a>]: failed to create stream: No such file or directory in /home/m/myportal/www/ezpublish-3.0-1/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 211
Warning: PHP Apr 15 2003 21:50:37
filesize() [<a href='http://www.php.net/function.filesize'>function.filesize</a>]: Stat failed for var/storage/variations/image/a/7/2/a72o2K_150x150_213.jpg (errno=2 - No such file or directory) in /home/m/myportal/www/ezpublish-3.0-1/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 226
Error: Apr 15 2003 21:50:37
Could not create variation for var/storage/variations/image/a/7/2/a72o2K_150x150_213.jpg
Error: eZTemplate @ content/datatype/view/ezimage.tpl:8[14] Apr 15 2003 21:50:37
Cannot retrieve attribute of a boolean
Error: eZTemplate @ content/datatype/view/ezimage.tpl:8[45] Apr 15 2003 21:50:37
Cannot retrieve attribute of a boolean
Error: eZTemplate @ content/datatype/view/ezimage.tpl:8[67] Apr 15 2003 21:50:37
Cannot retrieve attribute of a boolean

Jan Borsodi

Wednesday 16 April 2003 1:33:54 am

Your webhost has secure mode on which means that you will have to change the permission and ownership of all files in eZ publish.
I suggest you talk with your webhost and ask which user (and group) the webserver is running as, when you know that you can change the ownership by cd'ing to the eZ publish root and doing:

chmod -R webuser:webgroup *
for instance if the user and group is anonymous do:
chmod -R anonymous:anonymous *

--
Amos

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

Carsten Link

Wednesday 16 April 2003 4:15:10 am

i have exactly the same problem.

Could you just explain it a little bit more detailed.

Thanks
Carsten

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 31 2025 01:20:17
Script start
Timing: Jan 31 2025 01:20:17
Module start 'layout'
Timing: Jan 31 2025 01:20:17
Module start 'content'
Timing: Jan 31 2025 01:20:17
Module end 'content'
Timing: Jan 31 2025 01:20:17
Script end

Main resources:

Total runtime0.0221 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.0057 588.2500151.2266
Module start 'layout' 0.00570.0032 739.4766220.7188
Module start 'content' 0.00900.0116 960.19531,001.8359
Module end 'content' 0.02050.0016 1,962.031333.9922
Script end 0.0221  1,996.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.9156140.0002
Check MTime0.00114.8436140.0001
Mysql Total
Database connection0.00104.368210.0010
Mysqli_queries0.00229.721830.0007
Looping result0.00000.041010.0000
Template Total0.00115.010.0011
Template load0.00083.843210.0008
Template processing0.00021.126610.0002
Override
Cache load0.00062.487010.0006
General
dbfile0.00031.141680.0000
String conversion0.00000.030240.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.0001 secs