Cannot login as specific page

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
Parrot
New php-forum User
New php-forum User
Posts: 10
Joined: Mon Oct 01, 2012 10:17 pm

Wed Jun 05, 2013 7:58 pm

The way you've got this login system set up seems a bit strange to me, I'm having trouble understanding how you're trying to work this. Apparently you've already got they're username and you're asking them to submit a form to determine where they go from here?

In your browser when it's displaying this login form, view the page source and tell me what it's showing after action="

johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Wed Jun 05, 2013 8:04 pm

1). breaking the form tag as you have did is not required. you can start the <form tag just before the word "action".

2). Please print this, echo $addurl . htmlspecialchars($_SESSION['site_id']) and decide if it is using the correct url to proceed after login.

Parrot
New php-forum User
New php-forum User
Posts: 10
Joined: Mon Oct 01, 2012 10:17 pm

Wed Jun 05, 2013 8:42 pm

I need to see the page source for the page with your login form, not the "object not found" page.

Parrot
New php-forum User
New php-forum User
Posts: 10
Joined: Mon Oct 01, 2012 10:17 pm

Wed Jun 05, 2013 10:53 pm

I'm not angry with you.

What you're showing me here is the page source for the main frame. Could you show me the page source for the login frame?

johnmacd
New php-forum User
New php-forum User
Posts: 72
Joined: Wed Jun 12, 2013 9:30 pm
Contact:

Thu Jun 13, 2013 10:30 pm

Check your admin file path.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: admin and 3 guests