SecurityAssist Show Region (Logged in to users) (prior version)
I used SecurityAssist to create my Registration and Admin pages. I uploaded all of my Registration pages to my host. I updated the database with new fields and new users. I attempted to log in with my username and password and all worked as expected. Yay!
I then tried to add a new user. I wanted to make sure that process was working properly. Oops. Problem. When I click on the verify link in the Registration email I get the following error message:
Fatal error: Call to undefined function wa_auth_rulepasses() in /home/maysbw/public_html/protected/user-confirm.php on line 168
When I go to line 168 in user-confirm.php the following code is present:
<?php if(WA_Auth_RulePasses("Logged in to users")){ // Begin Show Region ?>
<a href="login_success.php"><img src="../images/template_images/bw_green_go_back_inside.gif" width="100" height="50" alt="New User Button" /></a>
<?php } // End Show Region ?>
I was going to double click the Server Behavior when I noticed the following in the Server Behaviors panel list:
SecurityAssist Show Region (Logged in to users) (prior version)
SecurityAssist Show Region (Not logged in to users) (prior version)
SecurityAssist Show Region (Logged in to users) (prior version)
SecurityAssist Show Region (Not logged in to users) (prior version)
I thought if I double clicked the server behavior I might be able to clear out that "prior version" nonsense. I double clicked and all looked to be as it should be. So I clicked OK and got the following error message:
While executing applyServerBehavior in ShowRegion.htm, a JavaScript error occurred.
I checked all the other protected pages and none have this prior version problem. I'm not sure if this is relevant, but when I started the process of creating these .php pages I decided to change all the pages from .html to .php with login/logout/register buttons on every page. Could this be the reason the verify email isn't working?
Please advise.