i’ve had the same problem with session. i looked for any extra spaces in any file but nothing found!
i just turned on output_buffering in php.ini and yess it workedd!
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
March 04, 2008 9:47pm
Subscribe [10]#16 / Sep 02, 2010 4:55pm
i’ve had the same problem with session. i looked for any extra spaces in any file but nothing found!
i just turned on output_buffering in php.ini and yess it workedd!
#17 / Sep 02, 2010 8:08pm
i’ve had the same problem with session. i looked for any extra spaces in any file but nothing found!
i just turned on output_buffering in php.ini and yess it workedd!
I think that is working around the real problem here.. 😛
Did you put the end tags on youre files?
say something like this:
<?php
echo 'hello world!';
?>
Then you can remove the end tag (?>), and maybe youre problem is solved..
A better example:
<?php
class Test extends Controller()
{
public function index()
{
echo 'Controller Test called!';
}
}
?> <- this end tag must be removed..
#18 / Jul 15, 2011 5:42am
Hey guys! This post helped me a lot 😊 Apparently I also had some issues with encoding and line endings. I edited some files and it was all running smoothly again 😊
I posted my experience here:
http://www.ixpiabot.com/?p=209
Thanks!
#19 / Oct 11, 2011 10:58am
On windows with wamp there is no error. However on a linux bug persist. .... To solve it :
remove all echo, print, before you call the redirect function in (system/URL_HELPER.php).
Take care also on your encoding (ansi,utf8) file saving. Prefered ANSI.
#20 / Nov 09, 2011 7:43am
Here is 1 more thing i wanna tell you.i was getting same error checked my code thrice got not space So at least after spending 20 mins i got the solution it was actually something wrong with Title/Encoding of document.
if you are using dreamweaver open the file mentioned in error and press CTRL+j go to “Title/Encoding” and make sure “Unicode Normalization Form” is set to “None” and Include Unicode Signature(BOM) is unchecked. look at attached image.