close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Headers already sent error - Help

Thread began 5/10/2010 3:01 pm by mr hankey | Last modified 6/02/2010 2:08 pm by mr hankey | 1813 views | 11 replies |

mr hankey

Headers already sent error - Help

Hi,

I have added security assist to some pages and all is normally fine, however i am now getting this error on one of my pages, could someone please help?

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/sites/domain.com/public_html/clients_Detail.php:1) in /home/sites/domain.com/public_html/WA_SecurityAssist/Helper_PHP.php on line 5


thank you

Sign in to reply to this post

Dani Chankhour

it looks like you have a space at the top of your clients_Detail.php page. Open the clients_Detail.php page in DW and make sure that there are not white spaces before the security assist php includes.

Sign in to reply to this post

mr hankey

thanks dani i checked and there is no white space. i looked around on net and that seems to be the issue but it is not there at all so not sure why it is doing it. only that one page??

cheers

Sign in to reply to this post

mr hankey

Hi dani,

i have removed the rule then re applied but still get that error on that one page can you help please?

many thanks

Sign in to reply to this post

Dani Chankhour

Can you send me a copy of this page in a zip?

Sign in to reply to this post

mr hankey

Hi Dani,

I cant post the full page up as it is a clients site i am working on, more than happy to email or send via a ticket or is all you need the php code at top of page and helper file?

many thanks

Sign in to reply to this post

Dani Chankhour

That is OK, can you take a look at this page:

148/

and specifically at the topic:

PHP bug

Unicode Signature (BOM)


This should help you resolve the issue.

let me know if you still have any other questions.

Sign in to reply to this post

mr hankey

Hi dani,

i looked at the link, i saved the page as and checked to see if BOM was ticked and it was not, i checked my preferences and it was also unchecked so not that causing the issue.

i took all the php code at start of the page onto the end/start on same line so no white space at all and still never worked.

i removed security assist and re applied to that page and still no joy??

thanks

Sign in to reply to this post

mr hankey

Dani is there anything else i can try?

on this page i cannot add security assist, comes back with headers already sent.

even if i apply server validation to my form it says this yet if i take it off and have the standard form it works fine.

??

thanks

Sign in to reply to this post

mr hankey

Solved.

Any users who may come into this just a heads up.

I went through the link as per Dani and nothing should up i viewed hidden characters and i still got the error.

When i spoke with another developer he looked at the page via SSH and everytime i added security assist it added a

this:

<?php require_once('Connections/file.php'); ?>

took this character out and it works fine now, however i am concerned why i cannot view this in Dreamweaver anyone had this before?

Many thanks

Sign in to reply to this post
loading

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