php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49596 Error messages when submitting comments to bugs
Submitted: 2009-09-18 23:27 UTC Modified: 2009-11-04 22:38 UTC
From: jd at cpanel dot net Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2009-09-18 23:27 UTC] jd at cpanel dot net
Description:
------------
When I add a comment to a bug on bugs.php.net I get this response:


Authentication failed: Incorrect username
Warning: Cannot modify header information - headers already sent by (output started at /home/Web/sites/php-bugs-web/include/auth.inc:30) in /home/Web/sites/php-bugs-web/bug.php on line 232


The comment is added to the bug report though and does end up on the php.bugs mailing list.



Also, after I submitted this bug I got messages saying "Authentication failed: Incorrect username Authentication failed: Incorrect username" at the top of the page and below the yellow box that shows other related bugs.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-04 21:47 UTC] bjori@php.net
Which .php.net cookies do you have?
This should only happen when doing magical developers authentication, in which case developers should be warned if authentication failed..

 [2009-11-04 21:54 UTC] jd at cpanel dot net
The only php.net cookies I have at this point according to Firefox are

COUNTRY

LAST_LANG

PHPSESSID

Sorry, but I didn't get a list of cookies when I originally encountered the problem.
 [2009-11-04 21:55 UTC] jd at cpanel dot net
I didn't get any error when submitting my last update BTW.
 [2009-11-04 22:23 UTC] bjori@php.net
Uhhh... We don't use sessions, you shouldn't have that cookie at all.
 [2009-11-04 22:30 UTC] jd at cpanel dot net
It's definitely being sent by bug.php

root@jd:~/tmp# wget -S 'http://bugs.php.net/bug.php?id=49596&edit=2'
--16:28:34--  http://bugs.php.net/bug.php?id=49596&edit=2
Resolving bugs.php.net... 69.147.83.196
Connecting to bugs.php.net|69.147.83.196|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 200 OK
  Date: Wed, 04 Nov 2009 22:28:50 GMT
  Server: Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8k DAV/2 PHP/5.2.10 SVN/1.6.3
  X-Powered-By: PHP/5.2.10
  Set-Cookie: PHPSESSID=176be428279473151c333097d384a06e; path=/
  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
  Connection: close
  Content-Type: text/html
 [2009-11-04 22:37 UTC] svn@php.net
Automatic comment from SVN on behalf of bjori
Revision: http://svn.php.net/viewvc/?view=revision&revision=290221
Log: Make sure we have both username and password
Should fix bug#49596
 [2009-11-04 22:38 UTC] bjori@php.net
bug.php..
"
  9 // This is for the CAPTCHA image
 10 session_start();
"
Indeed :)

Anyway, I've committed a patch that hopefully fixes that invalid authentication warning
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC