close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Live Server Warning: Cannot modify header information

Thread began 11/10/2011 10:31 am by Steve E | Last modified 11/10/2011 12:19 pm by Steve E | 721 views | 4 replies |

Steve E

Live Server Warning: Cannot modify header information

Hi
I have 4 admin pages that seem to effected by errors on my live server,

Edited for security



The Pages worked fine on my local machine but in on my live server I have a problem. I assume it is something to do with the amount of times session occurs in the script but I do not want to mess it up as it seems to function, I just get the errors displaying.

If you could have a look and see why this is I would be grateful, I have tried moving various require once field around but can not identify exactly what I need to move in order to get this to work

Thanks in advance

Sign in to reply to this post

Jason ByrnesWebAssist

see this thread for details on the headers already sent error:
showthread.php?t=19285

according to the error messages, the problem is happening around line 11 of the events_Update.php page:
output started at /home/ffstylec/public_html/Administration/events_Update.php:11

line 9 of the events_Update.php page has a blank space at the end of the closing php block, this space is causing the error, and needs to be deleted
"?> "

and around line 42 of the events_Detail.php page:
output started at /home/ffstylec/public_html/Administration/events_Detail.php:42


line 41 of the events_Detail.php page has a blank space at the end of the closing php block, this space is causing the error, and needs to be deleted.
"?> "

Sign in to reply to this post

Steve E

Jason you are a diamond thank you very much, all these pages were suffering from whitespace, I will look out from that in future, just for my information, why does this not happen on my local server?
Thanks again and all the best

Sign in to reply to this post

Jason ByrnesWebAssist

it has to do with the error reporting level.

you local server has the error reporting level set to ignore warnings, but the live server is set to show warnings.

Sign in to reply to this post

Steve E

Ok thanks very much

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...