Test SecurityAssist 2
I've tried testing a page I've restricted access to using SecurityAssist. I keep getting messages that the "page cannot be displayed" in each of several different browsers.
I had trouble getting a record inserted into the Visitors table but after several tries I did get a record inserted but got this message on the registration.php screen
Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\securitytest\registration.php:1) in C:\wamp\www\securitytest\registration.php on line 62
Pages that have not been protected still display OK in several different browsers.
If I strip out the php code from a protected page, save it and relaunch it, it will also display OK in several browsers.
I can access the login.php screen but when I input a valid email and password and click the Login button I get a message that the page cannot be displayed.
Several times I've deleted the php code from every protected page, deleted the login.php, logout.php, registration.php, userupdate.php and forgotpassword.php pages, deleted the webassist folder and SpryAssets folder, "saved all" in the site, restarted the PC and gone through the whole process described in the SecurityAssist 2 Getting Started Guide again and again and each time I get messages that the pages cannot be displayed when I try to view them in a browser.
I've also deleted the Visitors table as well as deleting all the php code from protected pages and deleting all the webassist generated pages, saved all, restarted the PC and gone through the whole setup process again but I still can’t view the protected pages as well as not being able to view webassist generated pages after pressing the associated login/register, etc button.
What do I need to do differently to make this security work?
Thanks,
Robert