A bug in a parser for sqlite dsn ?

Thomas Bruederli roundcube at gmail.com
Sun Dec 31 16:29:59 CET 2006


RoundCube uses the PEAR::DB framework here. Please post it to their bug
tracker because it's not a real RoundCube problem.

~Thomas


black.myst at free.fr wrote:
> Hello
> 
> I don't know if it's a bug, but I have lost many time yesterday with that.
>
> [...]
> 
> Maybe I'm an idot to try 'sqlite:///var/roundcube/roundcube.db' but I think it
> is more intuitive than 'sqlite:////var/roundcube/roundcube.db'.
> 
> I'm not sure that is possible to fixe the function 'parseDSN()' because we can't
> do a generic solution for parse "mysql://localhost/db" and
> "sqlite://path/to/db".
> The solution is maybe to add a note to db.inc.php.dist to explain the problem.
> 
> Black Myst.
> 
> PS : If you think it's a bug, I will open new ticket tomorrow
> 
> 




More information about the Dev mailing list