Welcome Guest, Not a member yet? Register   Sign In
CI causes Apache to drop an empty connection/response
#1

[eluser]Unknown[/eluser]
EDIT 2: False alarm, all that was needed was a recompile of PHP.
EDIT: found the Blank Page thread, didn't look close enough before posting, sorry about that, http://ellislab.com/forums/viewthread/84634/

I was running CI 1.7.2 on my local development platform (pre-installed apache that comes with Snow Leopard), no problems here.

Later I uploaded the project to a live server and changed the settings in the config files to match the database etc.

When I later accessed the site it wouldn't give me any response thru CI's index.php (not using any .htaccess/rewrite stuff). I created a phpinfo test page in the same directory and it worked fine.

I don't get any visible error, the apache error log doesn't give me anything useful either.

I started to track down where the problem starts;

/system/codeigniter/CodeIgniter.php around line 200, I found the following lines
Code:
// Mark a start point so we can benchmark the controller
$BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_start');

$CI = new $class();

If I put;
Code:
echo "test"; die;
On the line in the middle of $BM and $CI, I see the "test" output when accessing the site, although if I put it after the line with the $CI variable, it will load for a couple of seconds and then send me an empty response.

Anyone have a clue of what it could be?


Messages In This Thread
CI causes Apache to drop an empty connection/response - by El Forum - 11-02-2009, 04:39 AM
CI causes Apache to drop an empty connection/response - by El Forum - 12-07-2009, 02:45 PM
CI causes Apache to drop an empty connection/response - by El Forum - 12-07-2009, 02:58 PM
CI causes Apache to drop an empty connection/response - by El Forum - 09-03-2010, 12:52 PM
CI causes Apache to drop an empty connection/response - by El Forum - 11-05-2010, 03:01 PM
CI causes Apache to drop an empty connection/response - by El Forum - 11-05-2010, 07:08 PM
CI causes Apache to drop an empty connection/response - by El Forum - 05-06-2011, 09:25 AM
CI causes Apache to drop an empty connection/response - by El Forum - 05-06-2011, 12:52 PM
CI causes Apache to drop an empty connection/response - by El Forum - 05-06-2011, 01:22 PM
CI causes Apache to drop an empty connection/response - by El Forum - 05-06-2011, 02:50 PM
CI causes Apache to drop an empty connection/response - by El Forum - 05-06-2011, 03:25 PM
CI causes Apache to drop an empty connection/response - by El Forum - 05-07-2011, 12:40 AM
CI causes Apache to drop an empty connection/response - by El Forum - 05-09-2011, 07:21 AM
CI causes Apache to drop an empty connection/response - by El Forum - 05-09-2011, 12:09 PM
CI causes Apache to drop an empty connection/response - by El Forum - 05-09-2011, 12:24 PM
CI causes Apache to drop an empty connection/response - by El Forum - 05-09-2011, 12:36 PM
CI causes Apache to drop an empty connection/response - by El Forum - 05-13-2011, 07:57 AM
CI causes Apache to drop an empty connection/response - by El Forum - 03-20-2012, 09:18 AM
CI causes Apache to drop an empty connection/response - by El Forum - 03-21-2012, 02:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB