TokenAuth module & Drupal 5.12
| Project: | Token authentication |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
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
Since this is a problem with TokenAuth and not a problem with Drupal, moving to the appropriate issue queue...
#2
Do you using some external cache modules?
Related topics:
#43462: cache_set and cache_get base_url brokenosity
#187912: Problems with cache and zlib.output_compression
#324890: weird unreadable compressed front page