Message: Cannot modify header information - headers already sent by


#1

Hi team,

On offline server it is working fantastic but I don’t know what it’s going on online server.
I try to find to fix this error by searching on google.

But unfortunately it’s not work.

Please help me.

Thank you for your fantastic support in past.


#2

Add this to your htaccess file

php_value output_buffering on

#3

I add what you suggest, but it still not working.


#4

Login.php line 83 can you paste it here?


#5

Hi @rjayswal78!

Then try php_flag output_buffering on instead.


#6

Thank you for your support I found my mistake and correct it.
Now its working.

My mistake is i use “echo” in controller to print statement.
I just remove it.
now its working properly.

Thanks for your great support.


#7