close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

No access to secured pages - and no info

Thread began 7/01/2010 4:33 pm by Brendan | Last modified 7/06/2010 4:13 pm by Brendan | 1367 views | 13 replies

Brendan

No access to secured pages - and no info

I've been troubleshooting a problem for hours now...I have applied simple rules to pages, and I can log on, but even as Administrator, I cannot access ANYTHING that is under SecurityAssist.

Code in page, ltac.org/mainmembers/news.php

<?php require_once( "../WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
if (!WA_Auth_RulePasses("LTAC Members")){
WA_Auth_RestrictAccess("../AccessDenied.php");
}
?>

HelperGroup rules php rules:

<?php

function WA_Auth_GetComparisonsForRule($ruleName){
$comparisons = array();

switch ($ruleName){
case "Administrator":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['userLevel']))?$_SESSION['userLevel']:"") ."", 1, "3");
break;
case "LTAC Members":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['userLevel']))?$_SESSION['userLevel']:"") ."", 6, "1");
break;
case "Power Users":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['userLevel']))?$_SESSION['userLevel']:"") ."", 6, "2");
break;
}
return $comparisons;
}


function WA_Auth_GetGroup($groupName){
$group = Array();

switch ($groupName){
}
return $group;
}

?>

You can see at LTAC_visitors_index.php

log in with dci user dci password (assigned level 3 Administrator)

Log in works, but the redirect to news.php works then denies access and goes to AccessDenied.php (as bad login would).

I cannot figure out what I am doing wrong here.

Also, can't find any log file to explain the error.

Thanks for any help possible. This has to be some basic problem I'm missing.

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