close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

SecurityAssist pages still accessible without login, invalid username/password login

Thread began 5/19/2020 8:38 am by tmcbinc99963 | Last modified 5/21/2020 11:58 am by Ray Borduin | 1143 views | 10 replies |

tmcbinc99963

Pages still accessible without SecurityAssist login, invalid username/password login

After creating three new SecurityAssist pages, and letting the wizard create a new Db table, I still get 'invalid username or password error'.

Also, the pages are still accessible without logging in.

Files are attached. Access in PM if needed.

Sign in to reply to this post

Ray BorduinWebAssist

Your password was only 3 characters, but there was server validation on the password field requiring at least 6 characters. I've updated the page to allow 3 character passwords and it works for logging in now.

Sign in to reply to this post
Did this help? Tips are appreciated...

Ray BorduinWebAssist

To make the pages inaccessible before logging in, go to each page and apply the restrict access to page server behavior.

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

I downloaded your revised file, and changed the redirect to a different page. Before uploading I confirmed the server behavior still had 6 entries. Login now says 'invalid username and password' again.

Where is the logout button?

Sign in to reply to this post

Ray BorduinWebAssist

There isn't a logout button. Just add a link to the logout button wherever you want it.

It looks like you didn't download my update. Your line 24 has:
$WAFV_Errors .= WAValidateEL((isset($_POST["Log_In_group_2_Password"])?$_POST["Log_In_group_2_Password"]:"") . "",6,500,true,3);

I had updated it to:
$WAFV_Errors .= WAValidateEL((isset($_POST["Log_In_group_2_Password"])?$_POST["Log_In_group_2_Password"]:"") . "",3,500,true,3);

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

File has been updated, and I applied the WA access server behaviors, but all pages have gone blank - login, access pages, etc.
Usually a white page is a database issue but it looks like the connect include is there.
There were 3 session starts at the top of the login page, so I removed two, but didn't make a difference.
Added error reporting, but still just blank pages.

Sign in to reply to this post

Ray BorduinWebAssist

I added code to display the errors on the top of the page like:

ini_set("display_errors",1);

Now it shows the issue is that you haven't uploaded your template file.

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

I uploaded the templates and the pages look correct, but still don't work as expected.

When I try to log in, the page doesn't give me the 'invalid username' alert, but I'm not logged in and redirected to the results.php page either.

Sign in to reply to this post

Ray BorduinWebAssist

Your login is working... you had the wrong access rule applied on the restricted page you redirect to after login. I applied the correct rule to that page and it seems to work properly now.

Sign in to reply to this post
Did this help? Tips are appreciated...

tmcbinc99963

The login redirects to the correct page now. However, every one of the search criteria is resulting in a '404 file not found error', though the records are in the Db. It was working fine previously. Error report message is Undefined variable: totalRows_WADASalesCollateral line 76

Also, applying a Framebuilder theme strips away the code in the head region when applied. I created the DW template with two editable regions: HeadRegion and BodyRegion. When the template is applied, I resolve both of those to the head and body areas. When applying the WA theme, it asks me again to resolve the HeadRegion. Whether I choose head or nowhere it deletes code from the head area (mainly the css).

Sign in to reply to this post
loading

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