Whenever I enable AuthCache for a logged (authenticated or another role) in user, the search function stops working on the search box, but not in the actual search page. If somebody tries to search while logged in as a user, the search button does nothing. If not logged in, but still using authcache, the search box does work. Any user that do not have authcache enabled, also work.
As soon as I disable authcache, all of them work.
Again, this is only for the search box on every page. If the query is done from the search page itself, then it works.
Has anybody else had this problem? Any workarounds or patches? Am I doing something wrong?
Using Drupal 6.16, AuthCache 1.0 rc2, and cacherouter 1.0 rc1.
Thanks!
Comments
Comment #1
Exploratus commentedAnybody???
Comment #2
Exploratus commentedDoes anybody have any idea why the standard Drupal Search box wouldnt work when AuthCache is enabled? It doesnt work for logged in users using cached pages. It does work when using AUthCache with a logged out user.. users have the proper permissions so I really do not know what is going on... Any help much appreciated...
Comment #3
Jonah Ellison commentedA few questions:
1. How does it stop working? Any error messages? Does it redirect to a page or do nothing?
2. Do you have a custom theme for the search box? Can you paste in the HTML of the search box form?
There is a search box on the Authcache example site (http://authcache.httpremix.com/), so it can work with Drupal core. For authenticated users, Authcache needs to retrieve a form token via Ajax, but it does this automatically for all forms. Under "Authcache Debug," you should see something like this in the response Ajax for logged-in users:
form_token_id: {"search_theme_form":"3b450e1a2967d0c4c9abe23f30238703"}
Comment #4
Exploratus commentedIt's the standard search box and no I get no errors. It just does nothing...
Comment #5
Jonah Ellison commentedAre there any JavaScript errors in the Error Console?
Comment #6
Exploratus commentedWhich error console? I looked in Firefox and no errors, no error in the logs either...
I just realized that a user can also not save an existing node when authcache is enabled. Again, only for the roles that have authcache enabled and not the admin.
Comment #7
Exploratus commentedFor the AutchCache Debug, I have multiple text boxes,
1st: \"Search\"
2nd: \"Search\"
3rd: \"form-e8ca7618e4be134b730ba317cf3d6097\"
4th: \"eb04a9f6e5eea4334f688a22ae5795af\"
5th: \"search_theme_form\"
Comment #8
simg commentedSorry you didn't get a resolution to this issue. I'm closing this issue because it's so old, but you're welcome to re-open it if you still have the problem