PDA

View Full Version : Output Error: Cannot modify header information


damien274885
10-30-2009, 08:58 AM
Hello,

I have the following error:

Warning: Cannot modify header information - headers already sent by (output started at /content/HostingPlus/l/o/loadedstudents.com/web/office/users/profile.php:1) in /content/HostingPlus/l/o/loadedstudents.com/web/WA_SecurityAssist/Helper_PHP.php on line 67

This error is normally given when information has already been sent to the page such as whitespace at the end of PHP tags however, this doesn't seem to be the case for me??

Would someone kindly take a look to see what the issue could be please?

Thank you

Damien

Jason Byrnes
10-30-2009, 09:31 AM
When the output is being reported at line 1:
output started at /content/HostingPlus/l/o/loadedstudents.com/web/office/users/profile.php:1

This is a problem that can happen if you select the option in Dreamweaver to Include Unicode Signature (BOM) On creating New pages or when saving, it is a PHP bug:
http://bugs.php.net/bug.php?id=22108


to fix the problem, Go to File -> Save As. In the Save As Dialogue box, uncheck the Include Unicode Signature (BOM) option.

you should make sure that this option is not set in Dreamweavers preferences as well.

Go to Edit -> Preferences, in the new Document section, uncheck the Include Unicode Signature (BOM) option.

damien274885
10-30-2009, 09:50 AM
Thanks Jason!

Jason Byrnes
10-30-2009, 10:30 AM
You're welcome.