close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

weird headers already sent error

Thread began 8/12/2010 4:09 pm by CraigR | Last modified 8/13/2010 8:08 am by Jason Byrnes | 1564 views | 5 replies |

CraigRBeta Tester

weird headers already sent error

I have a site which i have uploaded to my testing server, and all is well.

I have just posted the pages onto my clients server and am getting a headers already sent error...

Warning
: Cannot modify header information - headers already sent by (output started at /path/pagename.php:61)

which doesn't occur on my testing server.

it seems to occur due to the update or cancel button on my insert form doing a redirect, but there is nothing being sent to the page beforehand.

This is a time critical issue, and I am at loss as to why it is occuring.

Grateful for any advice

Sign in to reply to this post

Jason ByrnesWebAssist

the clue to look for is in this part of the error message:
output started at /path/pagename.php:61


this is saying the problem is at line 60 or 60 (it usually reports 1 line after the problem) of the pagename.php page.


to be able to investigate the cause, I would need to see a copy of the page. If you could send a copy of the page, it would help us in trouble shooting.

Sign in to reply to this post

CraigRBeta Tester

what i find particularly confusing is that it doesn't occur on my local server or my hosting server, just my clients server.

UPDATE ** staring me in the face was a space between my php tags**,

issue is resolved, but i don't know why it didn't occur on my local server.??

Sign in to reply to this post

Jason ByrnesWebAssist

your local server may be set to lower error reporting level

error_reporting(E_ALL ^ E_WARNING);

would show all error types, except warnings.

Sign in to reply to this post

CraigRBeta Tester

Hi Jason.

can I change my php.ini on my local machine to set this ?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, look for the error reporting setting in the php.ini.

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...