After i upgraded to Drupal 5.1, Search 404 started to give "access denied" errors instead of it's normal job.

here are the examples;

http://www.hecatomber.org/need/for/speed

http://www.hecatomber.org/search/node/need+for+speed

normally, that first url, used to redirect to that 1 result. but now it doesn't. how can i resolve this?

Comments

forngren’s picture

I can't find anything obvious that can explain this. Please tell me some more about your configuration.

S404 version?
Relevant permissions? (search)
S404 config? What options have you set?
PHP version?
Does this only happen for anonymous users?
And anything else you feel is relevant

Thank you!

korayal’s picture

S404 Version is given on the top of the Issue information (I also tried the stable one too)

As for permission, there is only a permission setting for "search" module on "access control" tab. those are granted to all user groups.

On Search 404 settings, all choices are selected, and the other textboxes are in their default entries.

Server info:
MySQL database 4.1.21
PHP 5.2.1

And most importantly, i am getting those access denied errors with admin (user no. 1) account too.

forngren’s picture

Assigned: Unassigned » forngren

I'm afraid that I still can't find anything that can explain this. PHP 5.2 might have something todo with this. I have not tested the module on 5.2. Another possible cause is the upgrade. I have done major rewrites on S404 since 4.7, but I've not done any db changes though.

You could try...

  1. uninstalling S404 and installing stable again
  2. testing to make a clean drupal 5.1 install with S404 stable
  3. praying to a higher power
korayal’s picture

i can try the first one, but the other two will not work for me :)

i'll update here if i have some changes on the process.

forngren’s picture

The second option could at least help determine if PHP 5.2/something else with your server setup is causing this.

korayal’s picture

When i see the "access denied" error instead of the "page not found" error, i tried forwarding "access denied" pages to the search404, from "Error Reporting" section. it's working now. (but we can all say that this is not a good solution)

forngren’s picture

Status: Active » Closed (fixed)

That's the way it should be configured. It is configured for you when you do a install, but not during an update.

korayal’s picture

btw, while i was uninstalling the previous version, i found a typo on the install file

function "variable_del" was written like "varaible_del" in one of the lines. so we get an error while uninstalling the module.

forngren’s picture

Thanks, updated the dev release.