Relationship Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005089 | mantisbt | other | public | 2005-01-10 17:06 | 2005-04-18 10:27 |
| Reporter | guideweb | Assigned To | thraxisp | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0005089: When user create already existing account | ||||
| Description | When user try to create an accound, and the username is taken folllowing error are show That username is already being used. Please go back and select another one. Warning: Cannot modify header information - headers already sent by (output started at /home/admin/public_html/bugTracker2/core/html_api.php:169) in /home/admin/public_html/bugTracker2/core/print_api.php on line 35 Warning: Cannot modify header information - headers already sent by (output started at /home/admin/public_html/bugTracker2/core/html_api.php:169) in /home/admin/public_html/bugTracker2/core/print_api.php on line 40 | ||||
| Tags | No tags attached. | ||||
|
Same error for invalid email |
|
|
Same error for invalid email |
|
|
I think that this is related to 0005044. The error handler is not stopping properly after detecting the error. Can you set $g_display_errors = array( E_WARNING => 'inline', E_NOTICE => 'none', E_USER_ERROR => 'halt', E_USER_WARNING => 'inline', E_USER_NOTICE => 'none' ); in your config_inc.php file and retest? |
|
|
Replace gpc_api.php line 251 by : dont try to send cookie if headers are send (guideweb)if(!headers_sent()) |
|
|
Replace print_api.php on line 35 by : if(!headers_sent( )) # dont try to send headers if they are send (guideweb) |
|
|
Replace print_api.php on line 40... by |
|
|
it fix error on my Bugtracker instalation |
|
|
I think you've managed to mask the problem, not resolve it's root cause. I don't see the same errors here unless I disable some of the error reporting. Many parts of the system assume that the error handler will not return after handling an error. In your case, it is. |
|
|
You should awalays check if headers are sent before trying to send them. i am currently getting more familiar with code, i hope to find solution quikly |
|
|
Could you add the full text from the failing page (or a screen shot)? |
|
|
No more error with the last cvs. I can reinstal old version if you want |
|
|
This leads me to believe that the fix for 5044 was the root cause. May I resolve this issue? |
|
|
guideweb's bugfixes (0008924),(0008925),(0008926) resolved the problem. Thanks a lot guideweb. |
|
|
Code to protect from these errors has been added in CVS. |
|
related to
child of
duplicate of