For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > March 2006 > issue with schema and MDB2 with databobject again









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author issue with schema and MDB2 with databobject again
Dan Rossi

2006-03-31, 3:59 am

hi, i upgraded my pear distro recently aswell as my php as I wanted to
test if php5 with threading enabled would work in apache mpm worker.
Now im suffering a similar problem as a long time ago with this error ,
it seems to try and generate the schema on the fly or something ? its
trying to call filltableschema method all the time , whats the problem
?

Call to undefined function: MDB2_Driver_mysql::tableInfo().
Lukas Smith

2006-03-31, 3:59 am

Dan Rossi wrote:
> hi, i upgraded my pear distro recently aswell as my php as I wanted to
> test if php5 with threading enabled would work in apache mpm worker. Now
> im suffering a similar problem as a long time ago with this error , it
> seems to try and generate the schema on the fly or something ? its
> trying to call filltableschema method all the time , whats the problem ?
>
> Call to undefined function: MDB2_Driver_mysql::tableInfo().


there is no such function .. unless you are using php5 which uses
__call() overloading. However that method will only be found if you call
the loadModule() method for the 'Reverse' module before hand.

regards,
Lukas
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com