[dev] Problem with Horde SignUp since upgrade to 3.3.5

Michael J. Rubinsky mrubinsk at horde.org
Tue Nov 17 14:20:18 UTC 2009


Quoting Andre Pawlowski <sqall at h4des.org>:

> Hi guys
>
> Since I upgraded to Horde 3.3.5 with the patch file no user signed up
> until yesterday. This user got this error message:
>
> *Fatal error*: Call to undefined method Auth_Signup_datatree::exists()
> in *horde/lib/Horde/Auth/Signup.php* on line *135
>
> *Ok, so I took a look at the problem. line 135 in Signup.php is this line:
>
>         if ($auth->exists($info['user_name']) ||         <<-- line 134
>             $this->exists($info['user_name'])) {          <<-- line 135
>
> To find the problem I took a look at
> horde/lib/Horde/Auth/Signup/datatree.php too where the class
> Auth_Signup_datatree is located and I couldn't find any "exists()"
> method. So I commented out line 135 and changed line 134 to
>
> if ($auth->exists($info['user_name'])) {
>
> and the signup process works fine again. Horde still recognized if an
> user want to use an username that already exists.
>
> So is this problem a bug in the patch file? I didn't change anything in
> the Horde source. Has anyone an idea?

Try what I committed:
http://cvs.horde.org/diff.php/framework/Auth/Auth/Signup/Attic/datatree.php?rt=horde&r1=1.1.2.3&r2=1.1.2.4&ty=u

The $this->exists() call checks to be sure there is not an existing  
signup request, the $auth->exist call checks that there is not already  
an existing horde account.

-- 
Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org



More information about the dev mailing list