"Cannot modify header information" warning

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
loutfie_mahdi
Posts: 1
Joined: 18 Feb 2005, 05:53

"Cannot modify header information" warning

Post 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?
Guil

same problem

Post by Guil »

hi !

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

Best regards
Guil
Guil

resolved !

Post by Guil »

creat an .htaccess under mantis repository

with just inside :

PHP_FLAG output_buffering on

it work..
Guil
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post 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.
Guest

Post by Guest »

I deleted the trailing white space following ?> from config_inc.php and voila!
Post Reply