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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 11:20:52
Script start
Timing: Jan 31 2025 11:20:52
Module start 'layout'
Timing: Jan 31 2025 11:20:53
Module start 'content'
Timing: Jan 31 2025 11:20:53
Module end 'content'
Timing: Jan 31 2025 11:20:53
Script end

Main resources:

Total runtime0.0514 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.2734151.2266
Module start 'layout' 0.00770.0137 739.500036.6797
Module start 'content' 0.02150.0284 776.179798.2813
Module end 'content' 0.04980.0015 874.460937.9922
Script end 0.0514  912.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00275.2460140.0002
Check MTime0.00132.4362140.0001
Mysql Total
Database connection0.00091.690710.0009
Mysqli_queries0.014728.596030.0049
Looping result0.00000.042710.0000
Template Total0.00101.910.0010
Template load0.00071.403010.0007
Template processing0.00030.521510.0003
Override
Cache load0.00050.940010.0005
General
dbfile0.018435.771180.0023
String conversion0.00000.019540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs