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

Error when creating Security pages for admin back-end

Thread began 7/29/2013 7:58 pm by Freddy | Last modified 8/01/2013 10:24 am by Freddy | 1907 views | 7 replies

Freddy

Error when creating Security pages for admin back-end

Hi,

I was trying to create the user login pages for the Admin back-end of my client's website with Security Assist.
It created the pages, however, when trying to manage the security of these pages, it modifies the test.php file with the following code right above the code to call the database connection:

<?php require_once( "../webassist/security_assist/helper_php.php" ); ?>
<?php
if (!WA_Auth_RulePasses("Logged in to pcms2_users")){
WA_Auth_RestrictAccess("index.php");
}
?>

This is when I encounter the problem because when attempting to go to the login page (renamed "index.php") it gives me a "This webpage has a redirect loop" page

What I was trying to achieve is redirect the user back go the login page (called index.php) when trying to access selected pages in the back-end, when they are Not logged in.

Attached files in question. Also, under link below:
http://zozayacreative.com/TLM/admin


Help please!

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