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.