I found the hook_form_alter in customerror.module was not working properly for me: using the Search form from the Custom Error 404 page would result in the form being submitted to the Custom Error page itself, rather than to the search, which the code suggests it should be.

I solved the issue by updating:

function customerror_form_alter($form_id, &$form) {

to read, instead:

function customerror_form_alter(&$form, $form_state, $form_id) {

This solved the problem.

Comments

anil614sagar’s picture

Title: hook_form_alter needs updating? » Patch created... Please commit to dev...
Status: Active » Needs review
StatusFileSize
new556 bytes
anil614sagar’s picture

Title: Patch created... Please commit to dev... » hook_form_alter needs updating?
Assigned: Unassigned » anil614sagar
StatusFileSize
new504 bytes

This issue is found to be problem with using zen theme. For more information http://drupal.org/node/830498 . We are going to commit this fix to 6.x-1.x of custom error module for now.

gisle’s picture

Status: Needs review » Fixed

This patch is committed in ver. 6.x-1.2: https://drupal.org/node/2056029.

Status: Fixed » Closed (fixed)

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