Re: found the solution on File_Password notice error
| From: | Alan Knowles | Date: | Wed, 30 Jul 2003 01:12:33 +0000 |
| Subject: | Re: found the solution on File_Password notice error | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18917@lists.php.net to get a copy of this message | ||
This is fixed in CVS (5 months ago) - can you file a bug to say that it needs re-releasing..
Regards
Alan
Laurent Laville wrote:
Hi all,-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.comAnd i've found a possible problem with File_Password package in 0.9.0betaversion at line 106 Notice: Undefined offset: 2 in E:\EasyPHP\php\PEAR\File\Passwd.php on line 106Well i've found the source of problem and fixed it, but i hope that one of you will give me an explain . So with error_reporting set to E_ALL, i got the previous error on File_Passwd 0.9 beta package Q: Why ? A: i've a .htpasswd file with lines likelist($user, $pass, $cvsuser) = explode(':', $line);But i don't know how to solve it . Any suggestion ?user:passwordand notuser:password:cvsuserThen my solution is to add a colon at end of each lines of my .htpasswd that not have a cvsuser But, i've tried to get documention that mention notion of cvsuser in a such htpasswd file Apache Doc didn't mention it Is that cvsuser a PEAR value introduced by Rasmus Lerdorf on the package (0.9 beta) ? Laurent