Ok, now I hope this isn't just me (I can produce it elsewhere, but the config between the two is very similar).
I use cookie mode, and sometime between the start of this year, and LinuxTag the cookie mode seems to have broken.
I get the login page, but after that I just get a blank screen. Absolutely no errors from PHP, in any shape or form (or even logged to any file!), or any error from Apache even.
Here is part of the communication between my server and a browser, I filled in the login page, enabled my tcpdump, and hit submit.
POST /mysql/index.php HTTP/1.1 Referer: http://sql.orbis-terrarum.net/mysql/ Content-Type: application/x-www-form-urlencoded Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MathPlayer 2.0; (R1 1.5); .NET CLR 1.1.4322) Host: sql.orbis-terrarum.net Content-Length: 91 Connection: Keep-Alive Cache-Control: no-cache Cookie: pma_theme=original; pma_mcrypt_iv=Po4wIABjc8I%3D; pma_cookie_username-1=gyxyJ2f8Lo%2BBBlGcCZbY2Q%3D%3D pma_username=XXXX&pma_password=XXXXXXXXX&server=1&lang=en-iso-8859-1&convcharset=iso-8859-1
HTTP/1.1 302 Found Date: Mon, 11 Jul 2005 07:16:33 GMT Server: Apache/2.0.54 (Gentoo/Linux) PHP/4.4.0RC2 X-Powered-By: PHP/4.4.0RC2 Set-Cookie: pma_cookie_username-1=gyxyJ2f8Lo9RVCqezXed3g%3D%3D; expires=Wed, 10 Aug 2005 07:16:33 GMT; path=/mysql/ Set-Cookie: pma_cookie_password-1=kEKZPkXMOVOVLvg5LRAWSw%3D%3D; path=/mysql/ Location: http://sql.orbis-terrarum.net/mysql/index.php?lang=en-iso-8859-1&server=... Content-Length: 0 Keep-Alive: timeout=15, max=96 Connection: Keep-Alive Content-Type: text/html; charset=ISO-8859-1
GET /mysql/index.php?lang=en-iso-8859-1&server=1 HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */* Referer: http://sql.orbis-terrarum.net/mysql/ Accept-Language: en-ca Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MathPlayer 2.0; (R1 1.5); .NET CLR 1.1.4322) Host: sql.orbis-terrarum.net Connection: Keep-Alive Cache-Control: no-cache Cookie: pma_theme=original; pma_mcrypt_iv=Po4wIABjc8I%3D; pma_cookie_username-1=gyxyJ2f8Lo9RVCqezXed3g%3D%3D; pma_cookie_password-1=kEKZPkXMOVOVLvg5LRAWSw%3D%3D
HTTP/1.1 200 OK Date: Mon, 11 Jul 2005 07:16:33 GMT Server: Apache/2.0.54 (Gentoo/Linux) PHP/4.4.0RC2 X-Powered-By: PHP/4.4.0RC2 Set-Cookie: pma_cookie_username-1=gyxyJ2f8Lo9RVCqezXed3g%3D%3D; expires=Wed, 10 Aug 2005 07:16:33 GMT; path=/mysql/ Set-Cookie: pma_cookie_password-1=kEKZPkXMOVOVLvg5LRAWSw%3D%3D; path=/mysql/ Content-Length: 0 Keep-Alive: timeout=15, max=98 Connection: Keep-Alive Content-Type: text/html; charset=ISO-8859-1
I'm really stumped, so I've decided to post here, and hope that somebody else has some useful suggestions. For safety in posting here, I changed one character in the pma_mcrypt_iv so that you can't work out my username and password.
Hi
On Monday 11 July 2005 09:22, Robin H. Johnson wrote:
Ok, now I hope this isn't just me (I can produce it elsewhere, but the config between the two is very similar).
I use cookie mode, and sometime between the start of this year, and LinuxTag the cookie mode seems to have broken.
It works fine for me, however in that time we changed path for cookies, so try to delete cookies for this server.
On Mon, Jul 11, 2005 at 12:01:20PM +0200, Michal ??iha?? wrote:
On Monday 11 July 2005 09:22, Robin H. Johnson wrote:
Ok, now I hope this isn't just me (I can produce it elsewhere, but the config between the two is very similar).
I use cookie mode, and sometime between the start of this year, and LinuxTag the cookie mode seems to have broken.
It works fine for me, however in that time we changed path for cookies, so try to delete cookies for this server.
Now this gets more confusing, without any success.
Mozilla: Delete cookies, try again - same behavior.
IE6: Even after attempted login, it doesn't claim to have any cookies for the site.
I put a chunk of debug code at the top of index.php, and it does indeed run (writes out to a file in /tmp). So now I'm really confused.
I'll go and hack at it some more.