Re: bug fix for MDB2 in LiveUser

Dan Rossi <liveuser-zu2dZaOKXTSc5qR/[email protected]> Tue, 22 Nov 2005 17:12:36 +1100
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
I have the latest cvs of LiveUser, and i made an upgrade of MDB2 via 
pear installer ? Its up to date

Type Install Path
php  /usr/local/lib/php/MDB2/Driver/Datatype/mysql.php
php  /usr/local/lib/php/MDB2/Driver/Manager/mysql.php
php  /usr/local/lib/php/MDB2/Driver/Native/mysql.php
php  /usr/local/lib/php/MDB2/Driver/Reverse/mysql.php
php  /usr/local/lib/php/MDB2/Driver/mysql.php
php  /usr/local/lib/php/package_mysql.php

On 22/11/2005, at 5:06 PM, Arnaud Limbourg wrote:

> IIRc that is because the latest beta of MDB2 is required with the cvs 
> version of LU.
>
> Arnaud.
>
> Dan Rossi wrote:
>> I just found another issue now with the updated MDB2 here was my error
>> Error: Call to undefined function: MDB2_Driver_mysql::exec(). in 
>> /Volumes/DATA/www/classes/PEAR/MDB2.php at line 1642
>>  (/Volumes/DATA/www/classes/PEAR/MDB2.php)
>>  (/Volumes/DATA/www/classes/PEAR/LiveUser/Admin/Storage/MDB2.php)
>>  (/Volumes/DATA/www/classes/PEAR/LiveUser/Admin/Storage/SQL.php)
>>  (/Volumes/DATA/www/classes/PEAR/LiveUser/Admin/Auth/Common.php)
>>  (/Volumes/DATA/www/classes/PEAR/LiveUser/Admin.php)
>> I worked out the exec method in the storage was trying to call an 
>> unknown method exec, changing it to query worked so i will go with 
>> this for now.
>> function exec($query)
>>     {
>>         $result = $this->dbc->query($query);
>>         if (PEAR::isError($result)) {
>>             $this->_stack->push(
>>                 LIVEUSER_ADMIN_ERROR_QUERY_BUILDER, 'exception',
>>                 array('reason' => $result->getMessage() . '-' . 
>> $result->getUserInfo())
>>             );
>>             return false;
>>         }
>>         return $result;
>>     }
>> _______________________________________________
>> LiveUser mailing list
>> [email protected]
>> http://mailman.21st-hq.de/mailman/listinfo/liveuser
>
>
> _______________________________________________
> LiveUser mailing list
> [email protected]
> http://mailman.21st-hq.de/mailman/listinfo/liveuser
>