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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drupal6formalter-650306-1.patch | 504 bytes | anil614sagar |
| #1 | customerror.module.patch | 556 bytes | anil614sagar |
Comments
Comment #1
anil614sagar commentedComment #2
anil614sagar commentedThis 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.
Comment #3
gisleThis patch is committed in ver. 6.x-1.2: https://drupal.org/node/2056029.