View Issue Details

IDProjectCategoryView StatusLast Update
0004005mantisbtotherpublic2004-07-18 11:35
Reporterfman Assigned Toint2str  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Fixed in Version0.19.0a2 
Summary0004005: signup for new account - invalid username generates crash
Description

Try to signup using username: xxxx.ffff

Got:

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache/htdocs/mantis/core/html_api.php:141) in /usr/local/apache/htdocs/mantis/core/gpc_api.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache/htdocs/mantis/core/html_api.php:141) in /usr/local/apache/htdocs/mantis/core/print_api.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache/htdocs/mantis/core/html_api.php:141) in /usr/local/apache/htdocs/mantis/core/print_api.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache/htdocs/mantis/core/html_api.php:141) in /usr/local/apache/htdocs/mantis/core/print_api.php on line 42

TagsNo tags attached.

Relationships

has duplicate 0003718 closedtazza70 'Headers already sent' errors after user creation 

Activities

leeguy

leeguy

2004-07-07 21:03

reporter   ~0005901

I was able to reproduce this error after disabling the anonymous account, logout, then trying to create a new account with a name that already exists.

As best I can tell, while trying to display the error page (app error 800 - ERROR_USER_NAME_NOT_UNIQUE), Mantis tries to determine who the user is, can't then tries to redirect after output has already started.

int2str

int2str

2004-07-07 23:33

reporter   ~0005904

Fixed in CVS for 0.19.0a2.

Thanks leeguy for the detective work.

Related Changesets

MantisBT: master 589ac31d

2004-07-08 00:37

int2str


Details Diff
* Fix 0004005: Signup for new account - invalid username generates crash

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2664 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0004005
mod - doc/ChangeLog Diff File
mod - core/html_api.php Diff File