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.