View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003902 | mantisbt | bugtracker | public | 2004-05-29 09:15 | 2007-08-02 02:28 |
Reporter | Dan Langille | Assigned To | grangeway | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.1.0a4 | ||||
Summary | 0003902: all logins fail with "Cannot modify header information" | ||||
Description | [Sat May 29 07:09:09 2004] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/websites/bugs.bacula.org/mantisbt-0.18.3/core/html_api.php:139) in /usr/websites/bugs.bacula.org/mantisbt-0.18.3/core/gpc_api.php on line 220 | ||||
Additional Information | This is a clean install of 0.18.3. The only customization is to config_inc.php (username, password, databasename). No other changes. | ||||
Tags | No tags attached. | ||||
This is actually being generated when calling the error handler (Dan was getting a 401 db query failed), triggering error handler which was then failing with above messages |
|
The db_query problem was permissions related. Update was not granted. Once granted, all worked well. |
|
To be clear, this is a problem with error reporting. If you comment out set_error_handler( 'error_handler' ); at ~line4/5 of core/error_api.php, you'll see this in the error log: [error] PHP Fatal error: 401 in core/database_api.php on line 86 mysql_error() returns nothing. mysql_errorno() returns nothing. |
|
I think my recent fix to fix the following backtrace would also be the resolution for my previous comment here: Call Stack Time Memory Function Location1 0.0161 86936 {main}( ) ..(null):0 |
|