Forums / General / Site is rendered correctly only if /var/cache is empty

Site is rendered correctly only if /var/cache is empty

Author Message

Roman Svet

Wednesday 08 October 2008 1:27:16 pm

Hello,

I have just updated site from ez 4.0.0 to 4.0.1. And now I have the following issue.
When folder /var/cache is empty all works fine, but after first loading of page, when I try to refresh page or go to another page on site and the execution of eZ publish abruptly ends and instead of site page I get a lot of questions marks

This I get from webserver :

???????????????????????????3?????????????1??????????????????????????????????????3?????????????1??????????1?????????????????????????????????????????????3?????1999??????????????

Always after clearing cache, site is rendered correct first time, but for second request I get message from above, or other similar

Can anybody help me to resolve this issue?

Site information:

PHP Version 5.2.5
Site has two siteaccesses: one for russian version, second for english, I use UTF8
Error.log is empty.

Thanks for all

Regards,
Roman Svet


--------------------------------------------------------------------------
http://romansvet.com

André R.

Thursday 09 October 2008 1:48:38 am

Do you have mbstring (php) extension activated?

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

Łukasz Serwatka

Thursday 09 October 2008 2:43:58 am

Or maybe do you have template compression enabled? I saw something similar, might be related.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Roman Svet

Thursday 09 October 2008 6:51:03 am

Yes, mbstring is enabled.
Template compression is disabled.

Also I have another problem, sometimes pages from second siteaccess are showing in default object view.


--------------------------------------------------------------------------
http://romansvet.com

Roman Svet

Tuesday 14 October 2008 2:17:25 am

The issue resolved. In the templates were set different encoding. In some templates was UTF and in another ISO. I have changed all templates to UTF-8 and now the site is working properly. Thanks for everything.


--------------------------------------------------------------------------
http://romansvet.com

André R.

Tuesday 14 October 2008 4:39:30 am

http://issues.ez.no/IssueView.php?Id=8969

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

eZ debug

Timing: Jan 19 2025 06:14:22
Script start
Timing: Jan 19 2025 06:14:22
Module start 'content'
Timing: Jan 19 2025 06:14:23
Module end 'content'
Timing: Jan 19 2025 06:14:23
Script end

Main resources:

Total runtime0.9260 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 590.2266180.8203
Module start 'content' 0.00610.8068 771.0469625.0313
Module end 'content' 0.81300.1130 1,396.0781341.0625
Script end 0.9259  1,737.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4527210.0002
Check MTime0.00170.1812210.0001
Mysql Total
Database connection0.00100.112010.0010
Mysqli_queries0.843691.10132050.0041
Looping result0.00180.19212030.0000
Template Total0.887995.920.4439
Template load0.00250.265020.0012
Template processing0.885495.617020.4427
Template load and register function0.00020.021610.0002
states
state_id_array0.00110.124110.0011
state_identifier_array0.00140.151420.0007
Override
Cache load0.00210.2257320.0001
Sytem overhead
Fetch class attribute can translate value0.00110.114440.0003
Fetch class attribute name0.00160.170280.0002
XML
Image XML parsing0.00130.144240.0003
class_abstraction
Instantiating content class attribute0.00010.006890.0000
General
dbfile0.01091.1763360.0003
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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 26
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs