Forums / Install & configuration / Upgrade from 3.9.0 to 3.9.1 > problems with images

Upgrade from 3.9.0 to 3.9.1 > problems with images

Author Message

eric f

Wednesday 09 January 2008 5:47:54 am

Hi

I've just upgrade my ez publish to 3.9.1 from 3.9.0

Erverything seems ok for the upgrade but after clearing the caches, when i look at my website, images are not displayed.

When i go to the administration, the images are still here and when i publish the page, the images are diplayed in teh web sites.

Is it normal ? why my images are not displayed ?

Thanks in advance for your help.

Heath

Wednesday 09 January 2008 6:32:52 am

I've heard this before I'm fairly certain your problem is with the permissions set on your files and directories.

Reset all file permissions, specifically for the var/ directory as it seems that it is unable to write image variations to disk.

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

eric f

Wednesday 09 January 2008 7:48:32 am

Thank for the response.

I have already check the permissions on the folders and set it to 777.

The strange think is that when i did the first clearing of caches, I lost my images, when I publish the page, the images are displayed. If I clear the caches one more time, the images are still displayed.

Regarding this, i dont' think there is a huge problem of configuration.

The problem is that I don't want to re publish all my pages.

André R.

Wednesday 09 January 2008 10:39:58 am

Have you tried clearing all cache (including image aliases that you have to select independently cause it's not included in the 'clear all' cache button) ?
And why did you update to 3.9.1? You can update directly to 3.9.4.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

eric f

Thursday 10 January 2008 12:57:34 am

Yes i think I cleared all caches because i use the bin command with clear --all.

I upgrade to 3.9.1 because i juste want to fixed a bug for the the 3.9.0 and the 3.9.1 was fine but i don't think this is really the matter except if this problem is a knowne bug of the 3.9.1.

I'm not sure that I will not have the problem if I upgrade to 3.9.4. The strange thing is that i have the problem only for the first clearing of cache, after republishing, it's ok images are displayed again.

I am becoming mad with this problem.

André R.

Thursday 10 January 2008 1:47:07 am

No, if you read the shell script you'll see that it only clears cache in 'IMAGE_CACHEDIR="$DIR/cache/texttoimage"', in other words text to image cache.

Only bin/php/ezcache.php and the cache tab in the admin interface lets you delete image alias cache.
Note: in 3.10+ the shell script is removed so you have to use the php script, and it also has a new option 'purge'. Read more about it in the doc, it's mentioned here: http://ez.no/doc/ez_publish/technical_manual/4_0/features/clustering

Edit: Basically you should never assume eZ Publish functionality does what you want it to do whiteout carefully double checking the doc and/or code. I know it sucks, but it will save you from a lot of grief..

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Xavier Dutoit

Thursday 10 January 2008 3:35:55 am

Hi,

To avoid this "it sucks" feeling, I'd suggest ez to stick to linguistic conventions, and use "all" when it applies to "all".

If it isn't the case, fix it, or at least display some kind of warning that all doesn't apply to all and that you should do something else...

X+

http://www.sydesy.com

André R.

Thursday 10 January 2008 4:06:37 am

True, but the shell script is removed from 3.10 / 4.0 because it doesn't support cluster setup.
So this only applies to the admin interface.

You should also get a warning if you clear image alias cache and not view cache + template block cache, cause you could end up with pages that link to non existing image aliases.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

eric f

Thursday 10 January 2008 6:02:11 am

Hi

I cleared all the caches with the bin/php/ezcache.php.

But it doesn't change anythnig, I still have the problem.

For information, i'll notice that I have check for imagemagick on my server and it's intalled.

I'll will apréciate any other sugestions.

Thank in advance

eZ debug

Timing: Jan 18 2025 14:55:51
Script start
Timing: Jan 18 2025 14:55:51
Module start 'content'
Timing: Jan 18 2025 14:55:52
Module end 'content'
Timing: Jan 18 2025 14:55:52
Script end

Main resources:

Total runtime0.9551 sec
Peak memory usage4,096.0000 KB
Database Queries216

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 587.9609180.8047
Module start 'content' 0.00800.8140 768.7656696.8828
Module end 'content' 0.82200.1330 1,465.6484344.4375
Script end 0.9550  1,810.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.4316210.0002
Check MTime0.00170.1756210.0001
Mysql Total
Database connection0.00050.052910.0005
Mysqli_queries0.861890.23042160.0040
Looping result0.00220.23152140.0000
Template Total0.920596.420.4603
Template load0.00200.214520.0010
Template processing0.918596.162220.4592
Template load and register function0.00010.013310.0001
states
state_id_array0.00190.198910.0019
state_identifier_array0.00130.133520.0006
Override
Cache load0.00180.1928540.0000
Sytem overhead
Fetch class attribute can translate value0.00170.177550.0003
Fetch class attribute name0.00100.1026120.0001
XML
Image XML parsing0.00340.351750.0007
class_abstraction
Instantiating content class attribute0.00000.0030140.0000
General
dbfile0.00710.7452410.0002
String conversion0.00000.001030.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
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs