PDA

View Full Version : Caching Problem


rharrison
01-02-2008, 05:18 PM
I'm having real problems with every page been cached.

Added the following meta to files below to resolve

<meta http-equiv="Expires" content="Mon, 26 Jul 1997 05:00:00 GMT">
<meta http-equiv="Pragma" content="no-cache">


include/client/header.inc.php
include/staff/header.inc.php
include/staff/login.tpl.php

Is this correct?

mrkarron
01-02-2008, 05:24 PM
I am also having this problem in the admin section on both IE7 and Firefox.

peter
01-02-2008, 05:25 PM
harrison,

Depends on your preference but I would prefer application wide session based cache control.

in main.inc.php change:
#Private chache
ini_set('session.cache_limiter', 'private_no_expire');to:

#No cache
ini_set('session.cache_limiter', 'nocache');I had enabled cache while testing RC2 and totally forgot to disable it. Will update downloads shortly.

rharrison
01-02-2008, 08:37 PM
I would agree with you just didn't know where to fix the problem.

Uriel
01-03-2008, 12:57 AM
when i try to log to admin i get :Authentication Required

it look like that the user canot view the ticket as well i get same think for user trying view ticket :Authentication Required

spaycegirl
01-03-2008, 06:16 AM
Uriel, once you apply the fix as detailed by Peter try clearing out your "cookies" or Private data in your browser. Looks like your problems are interelated.

TomPollak
05-27-2008, 02:29 PM
Peter -
We, too, got 4 db error messages saying:
[DELETE FROM ost_ticket WHERE ticket_id=] - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

main.inc.php was already set not to use the cache:
#No cache
ini_set('session.cache_limiter', 'nocache');

We are not seeing any other problems and saw no errors when handling "chores," such as deleting spam entries. This error normally does NOT occur.
- Tom