Page 1 of 1

"Cannot modify header information" warning

Posted: 18 Feb 2005, 06:15
by loutfie_mahdi
I've just started using Mantis BT I have problem when I was checking for error. When I tried to enter the same user account it came with "Cannot modify header information - headers already sent by (output started at D:\mantis-0.19.2\core\error_api.php:101) in D:\mantis-0.19.2\core\gpc_api.php on line 251" warning.

I already tryied to change the output_buffering to allow multiple header in php.ini but It didn't do any good. Even for some value e.g:(output_buffering = 2048 or On) it even jumped to login page instead of error page(stating user already exist).

Does anyone have any solution for this? Or maybe the exact output_buffering value?

same problem

Posted: 04 Mar 2005, 08:28
by Guil
hi !

I have exactly same problem !!!!
Did you resolved it ?

Best regards
Guil

resolved !

Posted: 04 Mar 2005, 09:02
by Guil
creat an .htaccess under mantis repository

with just inside :

PHP_FLAG output_buffering on

it work..
Guil

Posted: 05 Mar 2005, 15:59
by thraxisp
I think that this may be related to two bugs that have been resolved in CVS (#4995 & #5044). You could try updating core/current_user_api.php, core/error_api.php and config_defaults_inc.php to the latest versions in CVS.

Posted: 18 Aug 2005, 19:45
by Guest
I deleted the trailing white space following ?> from config_inc.php and voila!