close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Login Fails endlessley

Thread began 10/27/2010 4:36 pm by eaefaw380137 | Last modified 10/28/2010 8:40 am by eaefaw380137 | 1230 views | 5 replies

eaefaw380137

Login Fails endlessley

I have gone through the interactive tutorials numerous times step-by-step but have yet to get the login/user system working correctly. I am creating an eCommerce site using all of the Super Suite tools. The Dataassist extensions have worked pretty much flawlessly. I used them to create a basic CMS for adding/updating/deleting/inserting the products. I am working towards developing an administrative back-end as outlined in one of your tutorials and have stored these pages in a directory called "admin". All I want to do is create a simple username/password system for accessing the index.php page inside of the "admin" directory if the login is successful. I created a simple MySQL database that is only 4 columns.

AdminID
AdminUserName
AdminPassword
UserLevel

At this point I want to just manually enter the credentials for all of the admins into the database so that I only have to create a simple "one-page" login form. They do not have to register, and if they forget their credentials, I will manually change them in the database. Probably not too secure, but I am desperate at this point.

Seems pretty straight forward with Security Assist, but every time I run through the the whole wizard and all Security Assist tutorials, my login attempts fail and always take me to the access_denied.php page ( in the root directory of the site ) which I have set-up for failed login attempts.

My admin_login.php page is stored in the root directory of the site and I am trying to take the user to /admin/index.php on successful login. I have applied all of the user level access to the /admin directory so that only administrators can access that directory.

Either I am doing something fundamentally wrong in my file structure, or there is an issue with my database setup because I have followed the instructions to the letter without any luck.

Below is a link to my testing site login page. I do not want to provide login credentials, but have attached my admin_login.php and admin_logout.php files for your review. Let me know if there are any other files you need to help my sort this out.

admin_login.php

I really appreciate your expertise and assistance.

Attached Files
loginfiles.zip

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