A PHP script contains some output, that causes
Warning: Cannot modify header information - headers already sent (output started at script:line)
when we later try to send a redirect header - but only on the live server.
On the local server the output appears as well, but the redirect still works.
So it seems there is a setup difference between the two servers (in ini.php
/ .htaccess
/ via ini_set
?) What setting could cause this difference?
Update:
To make this clear: I do not want to suppress this error, quite the opposite: I want the redirect to not work on my local server as well.