[dev] Problem with Horde SignUp since upgrade to 3.3.5
Andre Pawlowski
sqall at h4des.org
Fri Nov 20 17:22:29 UTC 2009
Michael J. Rubinsky wrote:
> 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.
>
Ok, I added the function to the class and now it works with the
original signup.php. Was this a bug in the patch file or why did this
failure happen after the upgrade?
Regards
--
Andre Pawlowski
-------------------------------------------------------------------
Wenn eine Idee nicht zuerst absurd erscheint, taugt sie nichts.
-Albert Einstein
More information about the dev
mailing list