Re: Re: All executed queries in DB (Common?)
| From: | Lukas Smith | Date: | Tue, 18 Apr 2006 16:24:31 +0000 |
| Subject: | Re: Re: All executed queries in DB (Common?) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23716@lists.php.net to get a copy of this message | ||
Mark Wiesemann wrote:
Charlie van de Kerkhof wrote:this is a safe mode issue .. see http://pear.php.net/bugs/bug.php?id=6226 To get around this DB_Table should explicitly call: loadModule('Extended', null, false); regards, LukasWarning: fopen(MDB2/Driver/Extended/mysqli.php) [failed to open stream: No such file or directory Errtype: Warning File: /usr/local/php5/lib/php/MDB2.php Line: 873 And this is true. No directory /usr/local/php5/lib/php/MDB2/Driver/Extended exists.That's right, there is no 'Extended' directory. Looks like a bug in MDB2 (2.0.1). I've succesfully used DB_Table with MDB2 while MDB2 was in beta stage and also with version 2.0.0 stable. The problem seems to be in MDB2::loadModule() where $module (== 'Extended' here) is checked via fileExists(). Maybe the problem is also in DB_Table, Table.php, line 745. Lukas, can you please have a look at this line in Table.php and maybe also at the code in loadModule()?