Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter.php inserting newline
#1

[eluser]darioism[/eluser]
I love CodeIgniter, and use it for all of my projects.

A strange problem started happening, seemingly out of the blue. A newline is being inserted in the output, which breaks some pages and all programmatically generated images on my site.

I narrowed down the issue to line 288 of system\core\CodeIgniter.php, which simply reads:

Code:
$CI = new $class();

If I put an exit('blah') just before this line, it prints "blah" as expected. When placed just after this line, it prints "blah" after a newline. I'm not sure what that piece of code does next so don't know where else to look. This changed while I was developing new features on my site, but I can't think of why this would have anything to do with my most recent changes.

Please help! I'm confounded. Thanks!


Messages In This Thread
CodeIgniter.php inserting newline - by El Forum - 01-25-2014, 12:59 PM
CodeIgniter.php inserting newline - by El Forum - 01-25-2014, 07:43 PM
CodeIgniter.php inserting newline - by El Forum - 01-26-2014, 07:47 AM
CodeIgniter.php inserting newline - by El Forum - 01-26-2014, 07:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB