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
<?php
if (!WA_Auth_RulePasses("Logged in to member_tbl")){
WA_Auth_RestrictAccess("../../login.php");
}
?>
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
WA_SecurityAssist
and
security_assist
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?
Thanks