Fatal error after update to Drupal 6.5

litorster - October 22, 2008 - 17:18
Project:HTTP authentication
Version:6.x-1.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

After updating to Drupal 6.5 it is not possible to use the HTTP authentification module. The following PHP Error is shown:

Fatal error: Call to undefined function form_get_errors() in /home/crifi/drupal/modules/user/user.module on line 1349

The reason is a patch in line 1349 of user.module in the Drupal Core:
- if (!empty($form_values['name']) && !empty($form_values['pass']) && $account) {
+ if (!form_get_errors() && !empty($form_values['name']) && !empty($form_values['pass']) && $account) {

The HTTP authentification module uses the function user_authenticate() in line 146 of httpauth.module
Please fix this issue as fast as possible, because of the conflict with patching the security issue SA-2008-060 in Drupal Core!

#1

naquah - October 23, 2008 - 07:59
Status:active» fixed

Thanks for investigating the problem, including form.inc fixes it.

httpauth-6.x-1.2 should appear any minute now.

#2

litorster - October 23, 2008 - 14:12

Thanks. Fix works.

#3

Anonymous (not verified) - November 6, 2008 - 14:21
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.