17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1152 Views |
-
Warning: Cannot modify header information - headers already sent by

12 March 2008 at 2:56pm
I got this message initially for the site wwf2.gooduse.co.nz when I didn't have the right database name.
Now I'm getting it in the backend admin when I try to edit a particular page type (ProjectPage). This clearly used to work because someone has added content on their local computer and i think it must have happened when I uploaded the site to the server... But I've re-uploaded it a lot and it's still there.
The error is really unhelpful and obviously means a whole bunch of different things...
-
Re: Warning: Cannot modify header information - headers already sent by

12 March 2008 at 4:04pm
Errors aren't displayed on live sites. Instead, they get emailed to the developer, for security reasons.
Add the following line to your _config.php
if(Director::isLive()) Debug::send_errors_to("developer@email.com");
| 1152 Views | ||
|
Page:
1
|
Go to Top |


