Welcome Guest, Not a member yet? Register   Sign In
Cannot modify header information - headers already sent problem
#17

[eluser]Bart v B[/eluser]
[quote author="Mojtaba" date="1283475358"]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![/quote]

I think that is working around the real problem here.. Tongue

Did you put the end tags on youre files?

say something like this:

Code:
<?php

echo 'hello world!';

?>

Then you can remove the end tag (?&gtWink, and maybe youre problem is solved..
A better example:
Code:
<?php

class Test extends Controller()
{
  public function index()
  {
    echo 'Controller Test called!';
  }
}

?&gt; <- this end tag must be removed..


Messages In This Thread
Cannot modify header information - headers already sent problem - by El Forum - 09-02-2010, 05:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB