Re: Another issue while deleting a user with MDB2

Lukas Kahwe Smith <[email protected]> Tue, 22 Nov 2005 11:21:06 +0100
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
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