Looping back to Login Screen

Project:ProjectPier
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:new
Description

I have tried loading PP several times and I keep running into the same issue.

I have a remote dedicated server with a static IP. I am running Windows 2000 with IIS, MySQL, and PHP.

Here is my problem - I go through the loading screens without a hitch. Everything checks out perfectly. At the end of the load I am asked to setup my company. I do so and then I am directed to the login screen.

Here is where things go bad. I attempt to login to PP with the userid/password that I just setup moments before. I hit enter and everything seems to load fine but I am looped back to the login screen. No matter how many times I do this, I am looped right back to the login.

I even tried the "Forgot Password" help. I do that and I am able to enter an email address. No email is sent but now when I am redirected back to the login screen and I try entering the userid/password, I get an error message stating that I "Failed to log you in. Please check login data and try again."

I have checked the MySQL entries and all of the fields are there. I have also setup a localhost server on my local machine and tested PP. It works perfectly.

Any ideas?

#1

What web browser are you using? IE6, IE7? Have you tried Firefox? There have been reports that people using IE can't login.

#2

I am on Firefox on a Mac.

#3

Is the remote dedicated server in a different timezone to you? If so, what are your offsets?

#4

Is this a duplicate of bug http://www.projectpier.org/node/26 ?

#5

I am not sure if it is the same bug, but I followed the post and captured the header data via Live HTTP Header. Here is what I am getting. This is after a clean install when all of the elements loaded perfect. After setting up the company I try to login and I keep getting looped back.

Do you see anything abnormal?

----------------------------------------------------------

http://www.bothandstudios.com/pp/index.php?c=access&a=login

POST /pp/index.php?c=access&a=login HTTP/1.1

Host: www.bothandstudios.com

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

Referer: http://www.bothandstudios.com/pp/index.php?c=access&a=login&ref_c=dashboard&ref_a=index

Cookie: DIRECTORDISTCOOKIE[LastVisit]=Q2FrZQ%3D%3D.0HY%2B0%2F2MD41L0Q%3D%3D; v_factor=0.15; PHPSESSID=9dff5401be1409def70e5c414e95369f

Content-Type: application/x-www-form-urlencoded

Content-Length: 139

login%5Busername%5D=bothands&login%5Bpassword%5D=794010&login%5Bremember%5D=checked&login%5Bref_c%5D=dashboard&login%5Bref_a%5D=index

HTTP/1.x 302 Object Moved

Location: http://www.bothandstudios.com/pp/index.php?c=dashboard&a=index

Server: Microsoft-IIS/5.0

Content-Type: text/html

Connection: close

Content-Length: 189

----------------------------------------------------------

http://www.bothandstudios.com/pp/index.php?c=dashboard&a=index

GET /pp/index.php?c=dashboard&a=index HTTP/1.1

Host: www.bothandstudios.com

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

Referer: http://www.bothandstudios.com/pp/index.php?c=access&a=login&ref_c=dashboard&ref_a=index

Cookie: DIRECTORDISTCOOKIE[LastVisit]=Q2FrZQ%3D%3D.0HY%2B0%2F2MD41L0Q%3D%3D; v_factor=0.15; PHPSESSID=9dff5401be1409def70e5c414e95369f

HTTP/1.x 302 Object Moved

Location: http://www.bothandstudios.com/pp/index.php?c=access&a=login&ref_c=dashboard&ref_a=index

Server: Microsoft-IIS/5.0

Content-Type: text/html

Connection: close

Content-Length: 222

----------------------------------------------------------

http://www.bothandstudios.com/pp/index.php?c=access&a=login&ref_c=dashboard&ref_a=index

GET /pp/index.php?c=access&a=login&ref_c=dashboard&ref_a=index HTTP/1.1

Host: www.bothandstudios.com

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

Referer: http://www.bothandstudios.com/pp/index.php?c=access&a=login&ref_c=dashboard&ref_a=index

Cookie: DIRECTORDISTCOOKIE[LastVisit]=Q2FrZQ%3D%3D.0HY%2B0%2F2MD41L0Q%3D%3D; v_factor=0.15; PHPSESSID=9dff5401be1409def70e5c414e95369f

HTTP/1.x 200 OK

Server: Microsoft-IIS/5.0

Date: Wed, 05 Mar 2008 20:43:57 GMT

X-Powered-By: ASP.NET, PHP/5.1.4

Connection: close

Expires: Thu, 19 Nov 1981 08:52:00 GMT

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

Pragma: no-cache

Content-Type: text/html

----------------------------------------------------------

#6

I just noticed something. Not sure if it is the issue but when I first go to PP to login I get this URL:

http://www.bothandstudios.com/pp/index.php?c=access&a=login

After logging in the first time, I get looped back to the same login screen, but the URL changes to this:

http://www.bothandstudios.com/pp/index.php?c=access&a=login&ref_c=dashboard&ref_a=index

I notice the word "dashboard". Am I some how logged into PP and just seeing the login screen instead of the dashboard?

David

#7

You may want to try the latest nightly as this problem could have been related to this bug:
http://projectpier.org/node/843