Re: Another issue while deleting a user with MDB2

Dan Rossi <liveuser-zu2dZaOKXTSc5qR/[email protected]> Mon, 28 Nov 2005 15:09:39 +1100
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Hi sorry it took a while to get back to you about this, it seems, that 
server is case sensitive, MDB2 is trying to load the driver like

Error message: unable to find module: MDB2/Driver/datatype/mysql.php

However the actual directory is Datatype.

On 22/11/2005, at 9:21 PM, Lukas Kahwe Smith wrote:

> Dan Rossi wrote:
>
>>> Well I presume you have some issues with your include path .. does 
>>> said file exist in your PEAR dir?
>>>
>>> MDB2/Driver/datatype/mysql.php
>>>
>>>
>> Yes its in the list
>
> Well it must be a config issue in your php ..
>
> maybe you can reproduce the issue by trying out calling just this 
> simple function that is used inside MDB2 to determine of a file 
> exists:
>
>     function fileExists($file)
>     {
>         $dirs = explode(PATH_SEPARATOR, ini_get('include_path'));
>         foreach ($dirs as $dir) {
>             if (is_readable($dir . DIRECTORY_SEPARATOR . $file)) {
>                 return true;
>             }
>         }
>         return false;
>     }
>
> regards,
> Lukas
>
>
> _______________________________________________
> LiveUser mailing list
> [email protected]
> http://mailman.21st-hq.de/mailman/listinfo/liveuser
>