Re: Re: MDB2 beta1 problem
| From: | Joshua Eichorn | Date: | Thu, 22 Apr 2004 20:40:05 +0000 |
| Subject: | Re: Re: MDB2 beta1 problem | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12067@lists.php.net to get a copy of this message | ||
Oh must be the custom error handler i wrote is forgetting to ignore silenced errors. Wouldn't it be better to do a is_readable check before doing the include.
-josh
Lukas Smith wrote:
Joshua Eichorn wrote:I'm trying to use a prepared statement in MDB2 and im getting the following error: [2] loadmodule(MDB2/Datatype.php): failed to open stream: No such file or directory Error in line 1307 of file /usr/share/pear/MDB2.php PHP 4.3.4 (Linux) Did i set something up wrong or is this a real bughmm since there is no way to check if a file is includeable MDB2 first tries to include the module from the MDB2 dir and if its missing from the drivers dir. So the include error is actually silenced and it should try to include MDB2/Driver/Datatype/[rdbms].php ... regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07