Message: Cannot modify header information - headers already sent by

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.

1 Like

Add this to your htaccess file

php_value output_buffering on

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

Login.php line 83 can you paste it here?

Hi @rjayswal78!

Then try php_flag output_buffering on instead.

2 Likes

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.