Re: LiveUser Digest, Vol 34, Issue 9

Aireal <[email protected]> Wed, 16 Nov 2005 16:48:06 +0100
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Hi,

Has anyone included both user and admin classes together??
I get an error about a container class not been defined... In fact it is 
an error of Common.php not being included correctly..
I explain..

First require_once 'LiveUser\Auth\Common.php is ': is done
After require_once 'LiveUser\Admin\Auth\Common.php'; doesn't include 
anything because it thinks Common.php is already included

Is there an easy way around this??
My php version is 4.3.10


Thanx
Haris





[email protected] wrote:
> Send LiveUser mailing list submissions to
> 	[email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.21st-hq.de/mailman/listinfo/liveuser
> or, via email, send a message with subject or body 'help' to
> 	[email protected]
>
> You can reach the person managing the list at
> 	[email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of LiveUser digest..."
>
>
> Today's Topics:
>
>    1. Re: Bug with removing a user (Dan Rossi)
>    2. Re: Bug with removing a user (Lukas Kahwe Smith)
>    3. Re: Bug with removing a user (Lukas Kahwe Smith)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 15 Nov 2005 22:08:33 +1100
> From: Dan Rossi <liveuser-zu2dZaOKXTSc5qR/[email protected]>
> Subject: Re: [LiveUser] Bug with removing a user
> To: LiveUser-DevList <[email protected]>
> Message-ID: <3a0604be12bc2b99b7e4511290230df1-zu2dZaOKXTSc5qR/[email protected]>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> ill update via cvs again and see if it happens again.
>
> On 15/11/2005, at 5:37 PM, Lukas Kahwe Smith wrote:
>
>   
>> Dan Rossi wrote:
>>     
>>> Ive discovered a bug removing a user with the cvs version i was told 
>>> to get, if i do
>>>       
>> could you file a bug report?
>>
>> regards,
>> Lukas
>>
>>
>> _______________________________________________
>> LiveUser mailing list
>> [email protected]
>> http://mailman.21st-hq.de/mailman/listinfo/liveuser
>>
>>     
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 15 Nov 2005 12:10:25 +0100
> From: Lukas Kahwe Smith <[email protected]>
> Subject: Re: [LiveUser] Bug with removing a user
> To: LiveUser-DevList <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Dan Rossi wrote:
>   
>> ill update via cvs again and see if it happens again.
>>     
>
> i think i found the problem ..
>
> if you pass an empty data array to LiveUser_Admin_Storage_SQL::update() 
> it still tries to execute an update.
>
> i think i will handle this case by then directly returning true.
>
> regards,
> Lukas
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 15 Nov 2005 12:16:38 +0100
> From: Lukas Kahwe Smith <[email protected]>
> Subject: Re: [LiveUser] Bug with removing a user
> To: LiveUser-DevList <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Lukas Kahwe Smith wrote:
>   
>> Dan Rossi wrote:
>>
>>     
>>> ill update via cvs again and see if it happens again.
>>>       
>> i think i found the problem ..
>>
>> if you pass an empty data array to LiveUser_Admin_Storage_SQL::update() 
>> it still tries to execute an update.
>>
>> i think i will handle this case by then directly returning true.
>>     
>
> should be fixed in CVS ..
> we may however also look into when and why empty data arrays are passed 
> to update and if it makes sense to prevent this from happening.
>
> regards,
> Lukas
>
>
>
> ------------------------------
>
> _______________________________________________
> LiveUser mailing list
> [email protected]
> http://mailman.21st-hq.de/mailman/listinfo/liveuser
>
>
> End of LiveUser Digest, Vol 34, Issue 9
> ***************************************
>
>
>