Forums / Install & configuration / no images visible in demo version

no images visible in demo version

Author Message

rik lingen

Friday 08 August 2003 4:39:59 am

Hi all,

I installed ez:

tar xvfz ezpublish-3[1].1-1.tar.gz
./bin/modfix.sh
chmod -R a+rwx design/demo/override/templates/
chmod -R a+rwx design/admin/override/templates/
chmod -R 770 var/*
chown -R httpd:httpd var/*

in the adminpanel I have in the "weekend in the" article

Image filename
phpTw4jRT.jpg

but no image.

it is expected (according to the source) in
/ez/var/storage/variations/image/p/h/p
but it resides in fact in /ez/var/storage/original/images

uploads of new images in the admin also places the files in this folder and not in the /p/h/p folder.

The sugggestions in

http://ez.no/developer/ez_publish_3/documentation/installation_and_configuration/troubleshooting/images_do_not_work

offer no help.

Any suggestions?

sys config

xml, tokenizer, standard, sockets, session, posix, pgsql, pcre, overload, openssl, mysql, imap, gettext, gd, ftp, ctype, zlib, apache

Safe mode is off.
Basedir restriction is off.
Global variable registration is on.
File uploading is enabled.
Maximum size of post data (text and files) is 8M.
Script memory limit is .
Maximum execution time is 30 seconds.

Alex Jones

Friday 08 August 2003 7:01:03 am

Have you made the changes to image.ini to use GD instead of convert?

[ConverterSettings]
UseConvert=false
UseGD=true

[GDSettings]
HasGD2=true

[Rules]
DefaultRule=image/jpeg;gd
Rules[]=image/jpeg;image/jpeg;gd
Rules[]=image/png;image/png;gd
Rules[]=image/gif;image/png;gd
Rules[]=image/xpm;image/png;gd

If so, you may want to turn on the debug mode in settings/site.ini or settings/siteaccess/YOURSITE/site.ini.append to see what errors it generates:

[DebugSettings]
DebugOutput=disabled

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

rik lingen

Friday 08 August 2003 10:05:00 am

Thanks Alex, for your reply. Your solution takes care of the images not being visible right at the demo start up. that problem solved. (my config is php4.3.2 with embedded GD, so perhaps that is why the GD was not picked up correctly)

problem that remains:

a new article image upload ends up in the

ezpublish/var/storage/original/image folder together with all the images that go with the demo.

The ez source however expects them in the variations folder. the html source code gives you

img src="/ezpublish/var/storage/variations/image/p/h/p" alt="" /

the /p folder remains empty and a broken image links is the only thing you get to see.

a symlink from original to variations will not do the trick.

There are a few older posts on this folder related to this problem but without a satisfactry answer.

suggestions are greatly appreciated.

Rik

 

padEE Scherer

Saturday 09 August 2003 5:50:23 am

i've got the same problem. i can't see any picures. on the server where ez3.1.1 runs properly has php4.3.1. now, what is gd exactly and is it in the version 4.3.1, so that i could proceed as mentioned above?

thanks for any help

padEE

Tony Wood

Saturday 09 August 2003 6:49:26 am

Hi,

I've added a couple of problems/solutions to
http://ez.no/developer/ez_publish_3/documentation/installation_and_configuration/troubleshooting/images_do_not_work i hope they help.

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

rik lingen

Sunday 10 August 2003 10:32:04 am

Thanks Tony,

I checked the troubleshooting page but no succes.

the point is that there is nothing wrong with the quality of the image when you upload it to the server, it just is in the wrong directory. I can get the image in my browser with www.mysite/ezpublish/var/storage/original/images/imagename.gif

but the scripts expects the image in the var/storage/variations directory.

Ekkehard Dörre

Monday 11 August 2003 11:50:34 pm

Look at my last posting:

http://ez.no/developer/ez_publish_3/forum/install_configuration/still_problems_with_images

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

rik lingen

Tuesday 12 August 2003 4:46:47 am

Happy days are here again!

Thanks Ekke for your input.

Your suggestion did not make the difference though and the thread looks related to my problem but concerns imagemagic?

the solution turned out to be that GD compiled with php 4.3.0 does not support gif. A jpg givens no problem at all.

to summarise:

make the changes to image.ini when using 4.3.0

[GDSettings]
HasGD2=true

[Rules]
DefaultRule=image/jpeg;gd
Rules[]=image/jpeg;image/jpeg;gd
Rules[]=image/png;image/png;gd
Rules[]=image/gif;image/png;gd
Rules[]=image/xpm;image/png;gd

and do not use gif (I can live with that)

by the way the log still gives you 2 warnings

Missing main operation memento for key: fab424e98542f98b2b35d3973614a522

Undefined variable: lang in ez/kernel/classes/ezcontentobject.php on line 1155

eZ debug

Timing: Jan 18 2025 16:18:55
Script start
Timing: Jan 18 2025 16:18:55
Module start 'content'
Timing: Jan 18 2025 16:18:56
Module end 'content'
Timing: Jan 18 2025 16:18:56
Script end

Main resources:

Total runtime0.8322 sec
Peak memory usage4,096.0000 KB
Database Queries215

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 587.8359180.8203
Module start 'content' 0.00880.6943 768.6563735.5234
Module end 'content' 0.70310.1290 1,504.1797344.4375
Script end 0.8322  1,848.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4773210.0002
Check MTime0.00150.1832210.0001
Mysql Total
Database connection0.00100.118710.0010
Mysqli_queries0.735588.38062150.0034
Looping result0.00230.27252130.0000
Template Total0.802096.420.4010
Template load0.00190.233820.0010
Template processing0.800096.130720.4000
Template load and register function0.00020.028410.0002
states
state_id_array0.00070.084510.0007
state_identifier_array0.00140.163720.0007
Override
Cache load0.00180.22061040.0000
Sytem overhead
Fetch class attribute can translate value0.00120.148960.0002
Fetch class attribute name0.00140.1741110.0001
XML
Image XML parsing0.00200.245860.0003
class_abstraction
Instantiating content class attribute0.00000.0022110.0000
General
dbfile0.00230.2822390.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
21content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
13content/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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 47
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs