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

Rule "Administrator" is no longer defined

Thread began 7/09/2009 4:50 pm by johnlanglois | Last modified 7/10/2009 10:36 am by johnlanglois | 1478 views | 4 replies |

johnlanglois

Rule "Administrator" is no longer defined

In an attempt to get index.php to launch, I thought I would use Security Assist to see whatever rule restrictions were in place. Imagine my surprise when Dreamweaver reported
"The rule 'Administrator' is no longer defined."

Removing the code if (!WA_Auth_RulePasses("Administrator")){
WA_Auth_RestrictAccess("users_login.php");
}
lets the page launch as expected. However, when I call any subsequent pages, they too, do a security check and take me back to the login page.

I know the globals are correct because I can echo them in the index page.

Anyone have an idea why the security check fails on different pages?

Sign in to reply to this post

Ray BorduinWebAssist

Do you see it in the SecurityAssist/helperGroupRules.php page?

It should have:

case "Administrator":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['AdminLogin']))?$_SESSION['AdminLogin']:"") ."", 1, "".$GLOBALS['WAGLOBAL_Admin_Password'] ."");
break;

Sign in to reply to this post

johnlanglois

Originally Said By: Ray Borduin
  Do you see it in the SecurityAssist/helperGroupRules.php page?

It should have:

case "Administrator":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['AdminLogin']))?$_SESSION['AdminLogin']:"") ."", 1, "".$GLOBALS['WAGLOBAL_Admin_Password'] ."");
break;  




Yes, that file is where it should be.

The errors I am seeing remind me of a problem Dreamweaver occasionally had with underscored variables such as content_id.

I am using DW8. Do you think that could be at the heart of the matter?

Sign in to reply to this post

Ray BorduinWebAssist

It is possible, but really anything is without understanding the problem in the first place... do you have the most recent version of Security Assist?

Sign in to reply to this post

johnlanglois

Originally Said By: Ray Borduin
  It is possible, but really anything is without understanding the problem in the first place... do you have the most recent version of Security Assist?  



I installed the latest version of Security Assist along with PowerCMS.

Oddly, this may turn out to be testing server issue. I was able to get the program to launch on the remote server. That doesn't preclude the variable error issues in the product, but it does give me hope that I won't have to spend hours fixing it.

I submitted a ticket yesterday, but still haven't heard anything from tech support.

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