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

SecurityAssist Show Region (Logged in to users) (prior version)

Thread began 4/17/2013 5:25 pm by greg401801 | Last modified 4/18/2013 9:50 am by Jason Byrnes | 800 views | 4 replies |

greg401801

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.

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the page please.

Sign in to reply to this post

greg401801

Attached

Attached Files
user-confirm.php
Sign in to reply to this post

Jason ByrnesWebAssist

your page is missing the link to the security assist helper file.

add the following code at line 1:

php:
<?php require_once( "../webassist/security_assist/helper_php.php" ); ?>
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

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