#1359 [Com]: usage of raiseError produce error

From: Date: Fri, 07 May 2004 10:03:38 +0000
Subject: #1359 [Com]: usage of raiseError produce error
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28939@lists.php.net to get a copy of this message
ID: 1359 Comment by: ts at siteartwork dot de Reported By: ceon2000 at freenet dot de Status: Open Bug Type: Bug System Operating System: SuSE Linux 8.0 Enterprise Server PHP Version: 4.3.6 New Comment: Did you specify an error-class? What does the constructor from your inheriting class look like? Which class did you extend? Previous Comments: ------------------------------------------------------------------------ [2004-05-07 05:13:16] ceon2000 at freenet dot de Description: ------------ I have extended an existing class with PEAR If i call the method raiseError() i always get an error Reproduce code: --------------- $this->raiseError( $errorDesc, $errorCode, PEAR_ERROR_RETURN, null, $userInfo ); Actual result: -------------- Fatal error: Cannot instantiate non-existent class: mysql in /usr/local/lib/php/PEAR.php on line 534 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=1359&edit=1

« previous php.pear.dev (#28939) next »