TokenAuth module & Drupal 5.12

kamleshpatidar - November 12, 2008 - 07:00
Project:Token authentication
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

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

#1

Dave Reid - November 12, 2008 - 08:32
Project:Drupal» 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...

 
 

Drupal is a registered trademark of Dries Buytaert.