PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Log Auth problem with MDB2

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Logging
View previous topic :: View next topic  
Author Message
molavec



Joined: 20 Nov 2008
Posts: 12

PostPosted: Tue Aug 04, 2009 10:40 pm    Post subject: Log Auth problem with MDB2 Reply with quote

Hi:
I used the example code ( here) to get Logs for Auth Packages. Works fine!!. Nevertheless, when i replace $options and $a variables by:

Code:

   $options = array(
     'dsn' => 'mysqli://userl:[email protected]/database',
   'table'=> "user",
     'usernamecol'=> "username",
     'passwordcol'=>"password",
     'cryptType'=>"md5"
     );

   $a = new Auth("MDB2", $options, "loginFunction");


there are nothing in output Log. The curious thing, is that the Authentication system works.
Is necessary make more changes in the example?. Add some log function for MDB2, too? Some solution to this problem?
Thanks in advance.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Logging All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement