Share » Forums » Install & configuration » Some images are not shown !!

Some images are not shown !!

Some images are not shown !!

Saturday 03 May 2003 8:56:26 am - 5 replies

Author Message

Astrid van Zanten

Monday 05 May 2003 6:28:02 am

I enabled DebugOutput in site.ini
My ez Debug results on my computer
http://127.0.0.1/ezpublish-3.0-2/index.php/demo/content/view/full/26/
are as follows:
Module start 'content'
Warning: eZModuleOperationInfo::execute May 05 2003 15:19:48

Missing main operation memento for key: ab1801831bf612445e0e64edcc3a3280
Debug: May 05 2003 15:19:48

checking viewmode 'full' #1
Debug: May 05 2003 15:19:48

cache used #1
Debug: May 05 2003 15:19:48

checking viewmode 'full' #1
Debug: May 05 2003 15:19:48

cache used #2
Timing: May 05 2003 15:19:48

Module end 'content'
Warning: PHP May 05 2003 15:19:48

Undefined variable: to_file in /Library/WebServer/Documents/ezpublish-3.0-2/lib/ezimage/classes/ezimagemanager.php on line 405
Warning: PHP May 05 2003 15:19:48

Undefined offset: 1 in /Library/WebServer/Documents/ezpublish-3.0-2/lib/ezimage/classes/ezimagemanager.php on line 405
Warning: PHP May 05 2003 15:19:48

Undefined offset: 1 in /Library/WebServer/Documents/ezpublish-3.0-2/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 202
Warning: PHP May 05 2003 15:19:48

getimagesize() [<a href='http://www.php.net/function.getimagesize'>function.getimagesize</a>]: Read error! in /Library/WebServer/Documents/ezpublish-3.0-2/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 204
Warning: PHP May 05 2003 15:19:48

Undefined offset: 1 in /Library/WebServer/Documents/ezpublish-3.0-2/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 209
Warning: PHP May 05 2003 15:19:48

Undefined offset: 1 in /Library/WebServer/Documents/ezpublish-3.0-2/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 216
Error: eZImageVariation May 05 2003 15:19:48

Undefined attribute 'contentobject_attribute_id, version, requestedwidth, requestedheight', cannot get
Error: eZImageVariation May 05 2003 15:19:48

Undefined attribute 'contentobject_attribute_id, version, requestedwidth, requestedheight', cannot get
Timing: May 05 2003 15:19:48

End

How must I fix these problems? What must I change? Has someone struggled with these same Warings.

I would like to hear from you before I change the wrong things in my scripts.

Bye for now ! (-;
Astrid

Karsten Jennissen

Monday 05 May 2003 6:35:16 am

Have you tried this:

http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/typical_problems_and_solutions/images_do_not_work/you_are_sure_that_you_have_imagemagick_but_its_not_working

Karsten

Astrid van Zanten

Monday 05 May 2003 2:17:10 pm

Thanks for your advice Karsten Jennissen I have changed in image.ini the following:
[ShellSettings]
ConvertPath=usr/local/bin/
ConvertExecutable=usr/local/bin/convert I don't think that it makes any difference

I have also installed ezpublish-3.0-2 again ! It was getting very messy !
(I am using MacOS 10.2.5, Apache 1.3.27 and php 4.3.0) ImageMagick 5.5.5 is installed without any setup-problems!

I have again enabled DebugOutput in site.ini
My ez Debug results on my computer
http://127.0.0.1/ezpublish-3.0-2/index.php/demo/content/view/full/26/
are now as follows:
Timing: May 05 2003 23:20:44

Script start
Timing: May 05 2003 23:20:44

Module start 'content'
Warning: eZModuleOperationInfo::execute May 05 2003 23:20:44

Missing main operation memento for key: 8dc9b663b84d7d3cd75aa58626b72810
Debug: May 05 2003 23:20:44

checking viewmode 'full' #1
Debug: May 05 2003 23:20:44

cache used #1
Debug: May 05 2003 23:20:44

checking viewmode 'full' #1
Debug: May 05 2003 23:20:44

cache used #2
Timing: May 05 2003 23:20:44

Module end 'content'
Warning: May 05 2003 23:20:44

Exec: convert -geometry "100x100>" var/storage/reference/image//bqOnp1.jpg jpg:var/storage/variations/image/b/q/O//bqOnp1_100x100_297.jpg, Err: , Ret: 127
Warning: PHP May 05 2003 23:20:44

getimagesize(var/storage/variations/image/b/q/O/bqOnp1_100x100_297.jpg) [<a href='http://www.php.net/function.getimagesize'>function.getimagesize</a>]: failed to create stream: No such file or directory in /Library/WebServer/Documents/ezpublish-3.0-2/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 211
Warning: PHP May 05 2003 23:20:44

filesize() [<a href='http://www.php.net/function.filesize'>function.filesize</a>]: Stat failed for var/storage/variations/image/b/q/O/bqOnp1_100x100_297.jpg (errno=2 - No such file or directory) in /Library/WebServer/Documents/ezpublish-3.0-2/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 226
Error: May 05 2003 23:20:44

Could not create variation for var/storage/variations/image/b/q/O/bqOnp1_100x100_297.jpg
Error: eZTemplate @ content/datatype/view/ezimage.tpl:8[14] May 05 2003 23:20:44

Cannot retrieve attribute of a boolean
Error: eZTemplate @ content/datatype/view/ezimage.tpl:8[45] May 05 2003 23:20:44

Cannot retrieve attribute of a boolean
Error: eZTemplate @ content/datatype/view/ezimage.tpl:8[67] May 05 2003 23:20:44

Cannot retrieve attribute of a boolean
Timing: May 05 2003 23:20:44

End

How do I tackle these problems? If you know, please let me know !!

Bye 8-(

Astrid

Astrid van Zanten

Tuesday 06 May 2003 7:32:58 am

Problem solved !! I am extemely happy.
I have read the two entries:
in forum / Install & Configuration / Tried everything ( Roland Guijt ) and (Dave Ames)
dates: 01 May and 02 May

I realized that I was experiencing the same problem!
I had to make the same changes in: settings/override/image.ini.append.php as in had done insettings/image.ini

[ShellSettings]
ConvertPath=/usr/local/bin
ConvertExecutable=/usr/local/bin/convert

Everything works just fine now!
Thanks a lot Bård Farstad, Roland Guijt and Dave Ames

Bye :-)
Astrid

(I hope that I can help others in the future)

Claus Jensen

Wednesday 14 May 2003 5:01:51 am

When I had a problem with images it was because of the image.append.ini in the settings/override/.
It said:
UseConvert=false
UseGD=true

I would check this, if I were you...

claÜs

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu