close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Login/Logout Show Region not working

Thread began 10/03/2012 9:38 am by s.joiner74419001 | Last modified 10/04/2012 11:48 am by Jason Byrnes | 864 views | 3 replies |

s.joiner74419001

Login/Logout Show Region not working

I have a div tag holding three links - Register, Login, Logout. I have used a "show region behaviour/ Logged in to users access rule" with the Logout link so it only shows when users are logged in. This part works as once logged in it appears. But when I click to logout this error message appears on the logout page in the div tag .

Fatal error: Call to undefined function WA_Auth_RulePasses() in /Applications/MAMP/htdocs/team_root/logout.php on line 80

What's Happening here?

Please Help.

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the logout page please

Sign in to reply to this post

s.joiner74419001

Login/Logout Show Region not working

I have attached the Logout page in a zip file. I have discovered that the div tag that holds the three links is whats causing the error. I created a new template that didn't have the div tag included and it works. But this defeats my issue as I want this div tag to be shown as in theory it would have the register link and login link displayed. Maybe this is not normal practice to have, but neither is creating a template just to use on one page.

Hope this helps!

Cheers Jason!

Attached Files
logout.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

your page is missing the require_once line to include 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...