Bug #18186 Updated: warning using PEAR::isError
| From: | jan@php.net | Date: | Sat, 06 Jul 2002 12:51:11 +0000 |
| Subject: | Bug #18186 Updated: warning using PEAR::isError | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-13309@lists.php.net to get a copy of this message | ||
ID: 18186
Updated by: jan@php.net
Reported By: stevem@solveinteractive.com
-Status: Feedback
+Status: Bogus
Bug Type: Class/Object related
Operating System: Unix
PHP Version: 4.2.1
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
is there a server running on 'localhost' port 8090?
Previous Comments:
------------------------------------------------------------------------
[2002-07-06 05:32:54] sander@php.net
Can't reproduce with latest CVS.
Is this error 100% reproducable for you? Can you try the latest CVS and
see if the error still persists?
------------------------------------------------------------------------
[2002-07-05 11:39:35] stevem@solveinteractive.com
Using the following example from the PEAR documentation:
function mysockopen($host = "localhost", $port = 8090)
{
$fp = fsockopen($host, $port, $errno, $errstr);
if (!is_resource($fp))
{
return new PEAR_Error($errstr, $errno);
}
return $fp;
}
$sock = mysockopen();
if (PEAR::isError($sock))
{
print "mysockopen error: ".$sock->getMessage()."<BR>\n";
}
I receive the following:
Warning: Problem with method call - please report this bug in
/webcert/infinityeasystreet/rw/docroot/administration/processagentfile.php
on line 15
mysockopen error: Connection refused
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18186&edit=1