Hi Connor, we're running into a problem with Adjusti-Search. Here goes:
We have it set up to search the Catalog, PPLD.org, and Events. Right now it goes to our default error page when we try to search in any of the formats for any term. I'm not sure when this started or how long it's been going on. It only does this for anonymous users. It works fine if you are logged in. Of course all our patrons are anonymous users. The default search mechanism works fine outside of Adjusti-Search. I've cleared cache and disabled/re-enabled the module, but no luck. Any ideas? You can see what I'm talking about at http://ppld.org/
Thanks for your time! Virginia Franklyn
Drupal version 6.19
Adjusti-Search version 6.x-1.5
Comments
Comment #1
vfranklyn commentedThis is a cross-browser issue as well. Thanks!
Comment #2
ConnorK commentedCould you provide me with your Site Search List setting for the module? If you don't want to place these settings here, you can contact me directly through my profile here on Drupal.org.
Comment #3
vfranklyn commentedStrange. It's working now. This happens intermittently and I'm not sure what triggers it.
Comment #4
ConnorK commentedHmm. It is possible that it's not the module itself that is causing the issue but something else that is interfering with it, though I have no clue as to what that could be.
Comment #5
vfranklyn commentedWhen the search malfunctions it goes to this URL: http://ppld.org/ieupdate.js?adjs_type=1
Comment #6
vfranklyn commentedHere's the Site Search List:
0 http://catalog.ppld.org/uhtbin/cgisirsi/x/0/0/5?searchdata1=%search%&src...^SUBJECT^GENERAL^^words+or+phrase&library=ALL&user_id=webguest&password=3134 Catalog
1 /search/node/%search% PPLD.org
2 http://ev.ppld.org/evanced/lib/eventcalendar.asp?ag=&et=Adult+Library+Pr... Events
Thanks.
Comment #7
vfranklyn commentedOr it goes to this URL: http://ppld.org/sites/default/files/css/css_2206d48491af4b609c7ee4d274ae...
Comment #8
ConnorK commentedNothing appears to be wrong with your Site Search List. It also appears to be functioning as expected right now.
Adjusti-Search pulls the URL that it redirects the form to straight from the database and passes either the exact URL (for external URLs) or passes the internal partial URL so that it remains in-site. This is all done server-side and not on the client side, which would explain why it is a cross-browser issue when it does happen.
So the only thing I can think of is that somehow an incorrect URL is getting pulled from the database or some other database issue is happening that is causing incorrect data to get returned. This is the only thing I can think of off the top of my head that would cause the module to redirect to an incorrect location.
Comment #9
vfranklyn commentedThanks Connor, we'll try that avenue of troubleshooting.
Comment #10
vfranklyn commentedHi there,
Where in the database should I look? What's so weird is it pulls a random URL whether I search the site, the Catalog, or the Events Calendar. Also it only does this for anonymous users.
Comment #11
ConnorK commentedAll of the data for the module is stored in the variable table in the database, with each value prefixed by "adjustisearch_".
This is also a longshot, but this recently submitted bug seems similar (#947242: Action not set on form, causing problem with search from "Page not Found" page). I would try applying the patch that is at the bottom of that issue and see if that solves your problem. It appears to have solved redirect issues for them.
Comment #12
vfranklyn commentedI added the fix for the issue "Action not set on form, causing problem with search from "Page not Found" page" to my .module page per Connor's request and everything works great now. Thanks!!
Comment #13
ConnorK commented