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

vfranklyn’s picture

This is a cross-browser issue as well. Thanks!

ConnorK’s picture

Could 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.

vfranklyn’s picture

Priority: Major » Normal

Strange. It's working now. This happens intermittently and I'm not sure what triggers it.

ConnorK’s picture

Hmm. 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.

vfranklyn’s picture

When the search malfunctions it goes to this URL: http://ppld.org/ieupdate.js?adjs_type=1

vfranklyn’s picture

Here'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.

vfranklyn’s picture

ConnorK’s picture

Nothing 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.

vfranklyn’s picture

Thanks Connor, we'll try that avenue of troubleshooting.

vfranklyn’s picture

Hi 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.

ConnorK’s picture

All 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.

vfranklyn’s picture

I 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!!

ConnorK’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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