close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Error in SA Secure Page Behaviour

Thread began 7/02/2012 6:19 pm by Paul | Last modified 7/03/2012 6:02 pm by Paul | 805 views | 4 replies |

PaulBeta Tester

Error in SA Secure Page Behaviour

I'm using SA's Secure Page behaviour to lock down a client area page.

The behaviour inserts the following


if (!WA_Auth_RulePasses("Logged in to member_tbl")){

However, if i attempt to access this page without logging in, the following error is produced;

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/hf1/members/portfolio/MyPortfolio.php:1) in /home/public_html/hf1/webassist/security_assist/helper_php.php on line 77

I've also noticed two WA Security Assist folders in my root directory


The file helper_php.php exists in the latter and Helper_PHP.php in the former.

I have attached the page this affects.

Any ideas what is going wrong and how can it be resolved please?


Attached Files
Sign in to reply to this post

Ian S

First thing to try is to remove the blank space after the closing PHP tag of the code you posted above. i.e. Delete the space after ?>


Sign in to reply to this post

PaulBeta Tester

Thanks for response

Unfortunately that hasnt resolved.

The issue seems to be linked to


if($row_UserLock['hoAdminGlobalLock'] == "0") {
header("Location: ClientAreaLocked.php");

In my login page

Because if i set the lookup value in my table to "1" the error does not ocurr


Sign in to reply to this post

Jason ByrnesWebAssist

see this thread for details on troubleshooting the Headers Alredy sent error:

the error is reporting the output at line 1:

output started at /home/public_html/hf1/members/portfolio/MyPortfolio.php:1

so pay atention to the section at the end where i talk about the Unicode Signature (BOM) PHP Bug.

Sign in to reply to this post

PaulBeta Tester

This was very helpful.


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





Ease of use


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