Page 1 of 1

NOCACHE errors in IE

Posted: Sat Dec 24, 2005 2:20 am
by badhoy
I have a very weird problem on 3 web sites I run, all using CMSMS 0.11.2.

The problem is only with Internet Explorer.  I always use Firefox and only found the problem when checking for IE compatibility.

If I don't set "$config['debug'] = true;" in my config.php then IE shows NOCACHE errors all over the page.  The menu won't work in IE (still using PHPLayers from pre .11).  Interestingly enough, No debug info shows up in IE but it does in Firefox.

Clearing the cache doesn't seem to help.

PHP 4.4.0 on two servers and PHP 4.3.10 on the other
PHPLayers 1.3

I can't seem to figure this one out.  Anyone have any ideas where to start.

Re: NOCACHE errors in IE

Posted: Thu Dec 29, 2005 2:24 am
by badhoy
It appears this may have something to do with PHPLayers v1.3 but I can't seem to figure out exactly what the problem is.  I continue to try an figure it out.

Re: NOCACHE errors in IE

Posted: Fri Dec 30, 2005 5:38 am
by badhoy
I'm talking to myself here, but it is not a PHPLayers problem.  I switched to CSSMenu and the problem persists.

My sites were working great until 0.11.2.  Going back to 0.11.1 does not help.

Is anyone else having NOCACHE problems?

Re: NOCACHE errors in IE

Posted: Fri Dec 30, 2005 1:06 pm
by Ted
Can you pass along a URL?  Thanks.

Re: NOCACHE errors in IE

Posted: Fri Dec 30, 2005 9:43 pm
by badhoy

Re: NOCACHE errors in IE

Posted: Sun Jan 08, 2006 11:20 am
by lg37
hello,

I experienced the same errors, ans only with IE.
Removed the Statistics module tag, and all went ok !! ?

any idea ?

regards

Re: NOCACHE errors in IE

Posted: Sun Jan 08, 2006 6:10 pm
by Ted
I'm playing catchup on the forums here...

With debug on, do you get anything that would be a useful error message?  Unfortunatly, smarty has a habit of covering up useful messages sometimes and just shows the nocache stuff instead.

Re: NOCACHE errors in IE

Posted: Tue Jan 10, 2006 7:45 pm
by badhoy
I've finally been able to get back to this.

Test Steps:
turned on debug
cleared cache
tested in IE and Firefox 1.07

After debug IE & Firefox have no "nocache" errors, but the menu doesn't work.  IE does not display any debug info.  Really strange behaviour.

I will test deleting the Statistics module next.  Here is the debug code, I don't see any problems,
Generated in 0.304334 seconds by CMS Made Simple 0.11.2 (not cached) using 17 SQL queries and n/a bytes of memory

Debug:

SELECT * FROM cms_userplugins

Debug:

SELECT sitepref_name, sitepref_value from cms_siteprefs

Debug:

SELECT * FROM cms_modules ORDER BY module_name

Debug:

SELECT c.content_id, c.content_name, c.content_alias, c.menu_text, c.hierarchy, c.modified_date AS c_date, c.cachable, t.template_id, t.encoding, t.modified_date AS t_date FROM cms_templates t INNER JOIN cms_content c ON c.template_id = t.template_id WHERE c.content_alias = 'Home' AND c.active = 1

Debug:

SELECT MAX(modified_date) AS thedate FROM cms_content c WHERE c.active = 1

Debug:

SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates WHERE template_id = '1'

Debug:

SELECT DISTINCT media_type FROM cms_css c, cms_css_assoc
      WHERE  css_id    = assoc_css_id
      AND    assoc_type  = 'template'
      AND    assoc_to_id = '1'

Debug:

SELECT * FROM cms_module_banners_categories WHERE
          name = 'all'

Debug:

SELECT * FROM cms_module_banners WHERE (category_id = "1") AND (expires > "2006-01-10 11:41:25")
      AND (max_impressions = 0 OR num_impressions

Debug:

UPDATE cms_module_banners SET num_impressions = 30876 WHERE banner_id=2

Debug:

get all content...

Debug:

content cache file exists... file: 1136922057 content:1135831241

Debug:

file needs loading

Debug:

SELECT * FROM cms_content WHERE content_id = '6'

Debug:

load properties called

Debug:

SELECT * FROM cms_content_props WHERE content_id = '6'

Debug:

getpropertyvalue called

Debug:

load properties called

Debug:

SELECT * FROM cms_content_props WHERE content_id = '6'

Debug:

get all content...

Debug:

Using memory cache...

Debug:

DELETE FROM cms_module_stat_visitors WHERE lastseen<1136920285

Debug:

SELECT id FROM cms_module_stat_visitors WHERE sessionid='98701d74055dbef5afbcc5dec8c70d92'

Debug:

UPDATE cms_module_stat_visitors SET lastseen=1136922085 WHERE sessionid='98701d74055dbef5afbcc5dec8c70d92'

Debug:

SELECT value FROM cms_module_stat_data WHERE name='count_total'

Re: NOCACHE errors in IE

Posted: Tue Jan 10, 2006 8:02 pm
by badhoy
I removed the Statistics module and the problem seems to have gone away.  So, there seems to be some incompatibility between the Statistics module and 0.11.x. 

I continue to have some issues with CSSMenu between IE and Firefox (it looks correct in IE but not Firefox)  even though it was developed in Firefox.  It could be my style sheet...

Thanks lg37 for finding the Statistics module problem.