close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Again Login Form not work

Thread began 5/19/2019 4:36 pm by Raza | Last modified 5/29/2019 3:51 pm by Ray Borduin | 132 views | 18 replies |

Raza

Again Login Form not work

check what I make mistake

Sign in to reply to this post

Ray BorduinWebAssist

This code looks right. Maybe it is an issue with the data in the database or an issue with the success redirect page not properly identifying the login user.

What is the exact issue? Does it not allow you to log in? Does it always log you in? Do you get an error?

If you give me FTP access and a URL to reproduce the issue as well as the username and password you are using, then I can debug and tell you why it isn't working.

Sign in to reply to this post

Raza

when I press login button its not redirect to next page.I am working on localhost

Sign in to reply to this post

Ray BorduinWebAssist

Update the fail redirect to add a url parameter so you can tell if it is failing the login or if it is trying to go to the admin but failing validation on the admin.php page. So update this line:

$FailedRedirect = "index.php";

to:
$FailedRedirect = "index.php?fail=1";

Then try to log in and see what the url is after you attempt to log in. If it has ?fail=1 at the end, then that means it is failing login. If not, then it may be an issue with admin.php page or the trigger for login not firing.

Sign in to reply to this post

Raza

the url is showing http://localhost/zg/yasir/index.php?accesscheck=%2Fzg%2Fyasir%2Fadmin.php after press submit button

Sign in to reply to this post

Ray BorduinWebAssist

That means the login works, but the admin.php page is rejecting the user. So the issue may be on that page or the issue may be that Session variables aren't being stored properly on the server.

Sign in to reply to this post

Raza

okay I redevelop my admin.php than check it

Sign in to reply to this post

Raza

I have redevelop my admin.php file but still not login I am attaching index.php and admin.php you check it

Sign in to reply to this post

Ray BorduinWebAssist

You didn't attach the admin.php page. You attached the agents.php page.

Sign in to reply to this post

Raza

I dont know why I attach agent.php

Attached Files
admin.php
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...