Welcome Guest, Not a member yet? Register   Sign In
What's wrong with: Unknown: Cannot set connection to blocking mode Unknown 0
#1

[eluser]kiz[/eluser]
my one page application have some annoying bug,
i've google about it, but i haven't found any case like this..
please help me.. thank you in advance, sorry for my bad english..


* The case:
***********
ONE IN SEVEN attempt of show/refreshing the page, it always show something like this at the end of the document:

Warning: CI_Exceptions::include(application/errors/error_php.php) [ci-exceptions.include]: failed to open stream: No such file or directory in /home/legion-of-parabel/A-2/system/libraries/Exceptions.php on line 161

Warning: CI_Exceptions::include() [function.include]: Failed opening 'application/errors/error_php.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/legion-of-parabel/A-2/system/libraries/Exceptions.php on line 161


* Here's the log when the warning occurs:
*****************************************

DEBUG - 2009-06-04 10:10:54 --> Config Class Initialized
DEBUG - 2009-06-04 10:10:54 --> Hooks Class Initialized
DEBUG - 2009-06-04 10:10:54 --> URI Class Initialized
DEBUG - 2009-06-04 10:10:54 --> No URI present. Default controller set.
DEBUG - 2009-06-04 10:10:54 --> Router Class Initialized
DEBUG - 2009-06-04 10:10:54 --> Output Class Initialized
DEBUG - 2009-06-04 10:10:54 --> Input Class Initialized
DEBUG - 2009-06-04 10:10:54 --> Global POST and COOKIE data sanitized
DEBUG - 2009-06-04 10:10:54 --> Language Class Initialized
DEBUG - 2009-06-04 10:10:54 --> Loader Class Initialized
DEBUG - 2009-06-04 10:10:54 --> Helper loaded: url_helper
DEBUG - 2009-06-04 10:10:54 --> Helper loaded: file_helper
DEBUG - 2009-06-04 10:10:54 --> Helper loaded: html_helper
DEBUG - 2009-06-04 10:10:54 --> Helper loaded: form_helper
DEBUG - 2009-06-04 10:10:54 --> Database Driver Class Initialized
DEBUG - 2009-06-04 10:10:54 --> Session Class Initialized
DEBUG - 2009-06-04 10:10:54 --> Helper loaded: string_helper
DEBUG - 2009-06-04 10:10:54 --> Encrypt Class Initialized
DEBUG - 2009-06-04 10:10:54 --> Session routines successfully run
DEBUG - 2009-06-04 10:10:54 --> Controller Class Initialized
DEBUG - 2009-06-04 10:10:54 --> File loaded: application/views/website.php
DEBUG - 2009-06-04 10:10:54 --> Final output sent to browser
DEBUG - 2009-06-04 10:10:54 --> Total execution time: 0.0275
ERROR - 2009-06-04 10:10:54 --> Severity: Notice --> Unknown: Cannot set connection to blocking mode Unknown 0


* I'm using:
************

PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 23 2009 14:37:14)
PostgreSQL database 8.3.7
Apache/2.2.11 (Ubuntu) Apr 1 2009 16:03:30
Ubuntu 9.04

* My database configuration:
****************************

$active_group = "default";
$active_record = FALSE;
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "test";
$db['default']['password'] = "`/:;+";
$db['default']['database'] = "";
$db['default']['dbdriver'] = "postgre";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";


if you could, please help me.. T^T thank you in advance..
#2

[eluser]gtech[/eluser]
looks like a problem in php/postgres with persistant connections (you could try setting pconntect to FALSE), or you could try seeing if setting db_debug to false might help)

[url="http://bugs.php.net/bug.php?id=31411"]http://bugs.php.net/bug.php?id=31411[/url]
#3

[eluser]kiz[/eluser]
wow, i guess it's work ^^ thank you




Theme © iAndrew 2016 - Forum software by © MyBB