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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

HTML Editor 3 File Manager authentication

Thread began 2/25/2011 4:08 pm by reggie356178 | Last modified 3/10/2011 4:28 pm by Jason Byrnes | 1824 views | 7 replies |

reggie356178

HTML Editor 3 File Manager authentication

I have a user log in page set which authenticates using Access Rules and Access Page code. Included in the Access Page set is a page containing an HTML Editor instance. All works well up to the point of clicking Browse Server on the Image Properties dialog. Instead of accessing the File Manager I'm redirected to the page I've chosen to use if authentication fails.

The rules-pass code automatically inserted is:
if (!WA_Auth_RulePasses("Ministry Access")){
WA_Auth_RestrictAccess("pgUsers_LogIn.php?pagemsg=Access Denied.");
}

The HelperGroupRulesPHP.php file code section relating to above is:
case "Ministry Access":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['level']))?$_SESSION['level']:"") ."", 1, "ministry");
$comparisons[1] = array(TRUE, "".((isset($_SESSION['level']))?$_SESSION['level']:"") ."", 1, "admin");
break;

I've tested that the session does pass to the page containing the HTML Editor instance but there is where it seems to end. No $_SESSION['level'] can be found (by me anyway) after that resulting in a redirect which bypasses the File Manager.

Any ideas?

Sign in to reply to this post

reggie356178

HTML Editor 3 File manager authentication

I'm still stuck in the water. I've tried various posted solutions to no avail. Anyone?...

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

Sign in to reply to this post

this_is_me

work with .htaccess instead

If you use the webassist folder as "admin" folder you can put the whole stuff behind a .htaccess login. All admin pages are safe at once because the server's authentication models does not protect single files but a whole subdirectory. All you have to do, is to put the userfiles directory outside this directory so that it is public accessible.

Sign in to reply to this post

Jaffa

Did a fix get found for this as i too have just upgraded to v3.1 and are experiencing the same issue. Just checked the authentication and it is all correct but as soon as i try the file mananger I'm also being redirecting to the login page.

Cheers

Sign in to reply to this post

Jason ByrnesWebAssist

For the original poster, it was an issue with the date format on the server.


in the /webassist/kfm/initialize.php file.

try changeing:

php:
$kfm->defaultSetting('time_format', '%T');

$kfm->defaultSetting('date_format', '%x');


To:

php:
$kfm->defaultSetting('time_format', '%H:%M:%S');

$kfm->defaultSetting('date_format', '%m/%d/%y');
Sign in to reply to this post

Jaffa

Thanks but it's still re-directs to the login page after changes to two lines? Any more ideas?

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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