Hi all,
i upgrade my site to Drupal 5.12 from drupal 5.6. Everything is fine, Except my cache page which are storing in cache_page table. Problem is that cache_page is taking cache data, but drupal system failed to fetch cache page again. i login & surf my whole site but if i logout then i got "Content Encoding Error" in Mozilla Firefox, that is because of cache data. if i cleared cache_page table, now it will work. so cache_page is not working. so i inspected Drupal cache system, i found that TokenAuth module is creating problem. so what i did may be wrong,but it's successfull till now.

change in tokenauth.module at Line no.208 to
if (!$user->uid && isset($_REQUEST['token']) && tokenauth_allowed_pages($_GET['q']) && function_exists('drupal_set_content')) {
next change in tokenauth.module at line no. 226
if (isset($_SESSION['tokenauth_auth'])) {
Now Cache_page is working.

If you are using TokenAuth module & you want to upgrade Drupal version then make changes as i done it .

Kamlesh Patidar

Comments

dave reid’s picture

Project: Drupal core » Token authentication
Version: 5.12 » 5.x-1.x-dev
Component: update system » Code

Since this is a problem with TokenAuth and not a problem with Drupal, moving to the appropriate issue queue...

Grayside’s picture

Status: Active » Fixed

Several years, no response. I assume this has been resolved.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.