#46497 [NEW]: Unable to complete network request to host

2008-11-05 Thread andre dot gadonski at gmail dot com
From: andre dot gadonski at gmail dot com
Operating system: FreeBSD 
PHP version:  5.2.6
PHP Bug Type: InterBase related
Bug description:  Unable to complete network request to host

Description:

I'm using connect, the error had to be in the connect function and not
in the query function.

The interbase server is not on same computer as the script.

The function connect should be get the connection from the previous
persistent connection. 

Apache version: Apache 2.0 Handler 



Reproduce code:
---


Actual result:
--
object(stdClass)#3 (6) {

  ["USU_COD"]=>

  int(61)

  ["USU_NOME"]=>

  string(25) "ANDRE GADONSKI DE FREITAS"

  ["USU_CATEG"]=>

  int(0)

  ["USU_SENHA"]=>

  string(6) ""

  ["USU_LOGIN"]=>

  NULL

  ["USU_DOMINIO"]=>

  NULL


}



Warning:  Unknown: Unable to complete network request to host
"***some ip***". Error reading

 data from the connection. Bad file descriptor  in Unknown on line
0

-- 
Edit bug report at http://bugs.php.net/?id=46497&edit=1
-- 
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=46497&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=46497&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=46497&r=trysnapshot60
Fixed in CVS:
http://bugs.php.net/fix.php?id=46497&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=46497&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=46497&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=46497&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=46497&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=46497&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=46497&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=46497&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=46497&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=46497&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=46497&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=46497&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=46497&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=46497&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=46497&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=46497&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=46497&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=46497&r=mysqlcfg



#33092 [Com]: Unable to complete network request to host

2008-11-05 Thread andre dot gadonski at gmail dot com
 ID:   33092
 Comment by:   andre dot gadonski at gmail dot com
 Reported By:  fabio at bs2 dot com dot br
 Status:   No Feedback
 Bug Type: InterBase related
 Operating System: FreeBSD
 PHP Version:  5.0.4
 New Comment:

Hi... 

I have the same error.


I'm using PHP 5.2.0 and APACHE 2.0 handler


Previous Comments:


[2005-05-31 01:00:03] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".



[2005-05-23 22:10:12] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip





[2005-05-23 19:23:19] fabio at bs2 dot com dot br

I'm was wrong, the version of apache in both servers is 2.0.54. The
differs is only the php version and number of users accessing the site.
The server of intebase is version 6.0.

I forgotten to say that the error occurs some times, is not constant.



[2005-05-23 19:16:05] fabio at bs2 dot com dot br

 array(
'lifetime' => 0
),
'login' => array(
'username' => 'ra',
'password' => 'senha'
),
'logout' => array(
'destroy'  => false
),
'authContainers' => array(
...{Configuration of auth container}...
)
);

$user = isset($_REQUEST['user']) ?$_REQUEST['user'] :'';
$pass = isset($_REQUEST['pass']) ?$_REQUEST['pass'] :'';
$logout = isset($_REQUEST['action']) && $_REQUEST['action'] ==
'logout';
$lu = &LiveUser::singleton($conf);
$lu->init($user ,$pass ,$logout);

$con = ibase_pconnect(...);
$res = ibase_query($con ,"SELECT * FROM table");
$row = ibase_fetch_assoc($res);
var_dump($row);

?>



[2005-05-23 10:28:48] [EMAIL PROTECTED]

Please provide a complete reproducing script. (one that starts with
 )





The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/33092

-- 
Edit this bug report at http://bugs.php.net/?id=33092&edit=1