close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Power CMS, DataAssist and SecurityAssist together

Thread began 6/06/2011 12:21 pm by Rune Brynestad | Last modified 6/08/2011 6:59 am by Jason Byrnes | 1091 views | 3 replies |

Rune Brynestad

Power CMS, DataAssist and SecurityAssist together

I'm building a website that should be managed by Power CMS. I also need to build a backend system for the Product Catalog using DataAssist. I want both

the PowerCms and the DataAssist pages to use the same login, so I have used the Power CMS Admin template on the DataAssist pages and linked them to the

Power CMS top menu. It works perfect so far.

I want to utilize the already installed Security Assist login page to gain access to the administrator-only DataAssist pages, so I have applyed the Super

Administrator page access restriction to my data assist pages, and my problem starts.

When I have loged in as a Super Admin and try to access my Product Page. I'm redirected back to the admin_cms/index.php page.

You can test it on live URL:

users_login.php

Username: test
Password: test

click on the Products link and see what happen, you are always redirected back to the admin_cms/index.php

I'm also attaching the products_Search.php page that I'm trying to access when logged in as a Super Admin.

Regards
Rune

Attached Files
products_Search.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the supper admin security rule uses variables that are created by the WA_Globals/WA_Globals.php file, you need to include the require once line to attach that file:

php:
<?php require_once( "../WA_Globals/WA_Globals.php" ); ?>



before the WA_SecurityAssist/Helper_PHP.php, line 1 - 3 should be:

php:
<?php require_once('../Connections/PowerCMSConnection.php'); ?>

<?php 
require_once( "../WA_Globals/WA_Globals.php" ); ?>
<?php 
require_once( "../WA_SecurityAssist/Helper_PHP.php" ); ?>
Sign in to reply to this post

Rune Brynestad

Works perfect now.

Thanks again for your help.

Regards
Rune

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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