2009-09-02 00:42:48
Cache is not working
Hi All,
I am trying to cache the terms, for that I have enabled the cache but it is not caching.
If I enable the cache debug it is printing -
Debug: 61: $cache_absfile ->
Debug: 72: $cache_absfile ->
Debug: 187: $cache_absfile ->
Debug: Not caching, CACHE_ON is off
Debug: 123: Adding _cache_template to the variable store
Debug: 279: $cache_absfile ->
Debug: Not caching, CACHE_ON is off
If I change the CACHE_ON 1 or 0 it is displaying the same thing -
i.e:-
Debug: 61: $cache_absfile ->
Debug: 72: $cache_absfile ->
Debug: 187: $cache_absfile ->
Debug: Not caching, CACHE_ON is off
Debug: 123: Adding _cache_template to the variable store
Debug: 279: $cache_absfile ->
Debug: Not caching, CACHE_ON is off
And if I see in the mysql log file always it is firing one sql query as shown below -
SELECT L.* FROM at_language_text L, at_language_pages P WHERE L.language_code='en' AND L.variable<>'_msgs' AND L.term=P.term AND P.page='/login.php' ORDER BY L.variable ASC
I don't want this query to be firing for every page.
Can any body tell me how to enable the caching to stop firing this sql query?
Things to describe:
Operating system ATutor is installed on - Windows XP
ATutor version - 1.6.3
ATutor theme name - Default
PHP version - 5.2.6
MySQL version - 5.1
Webserver & version - Apache 2.2.9
Web browser being used - IE6 and above, Mozilla Firefox, Chrome and Safari