Topic: error plz help....

I am getting this error.. how can i get ride of it .....
i get this error while testing my forum....

Warning:
Cannot add header information - headers already sent by (output started at /drive2/fpgshttpd/kool-infotech/config.php:11) in /drive2/fpgshttpd/kool-infotech/header.php on line 28

Warning: Cannot add header information - headers already sent by (output started at /drive2/fpgshttpd/kool-infotech/config.php:11) in /drive2/fpgshttpd/kool-infotech/header.php on line 29

Warning: Cannot add header information - headers already sent by (output started at /drive2/fpgshttpd/kool-infotech/config.php:11) in /drive2/fpgshttpd/kool-infotech/header.php on line 30

Warning: Cannot add header information - headers already sent by (output started at /drive2/fpgshttpd/kool-infotech/config.php:11) in /drive2/fpgshttpd/kool-infotech/header.php on line 31

plz help me....

Anupam Misra.
Be Kool.
kool-infotech Network Fourm.

2 (edited by Jansson 2004-07-05 21:32)

Re: error plz help....

Something is printed out from config.php. Maybe something went wrong when you pasted it.

Re: error plz help....

this is my cofig.php file...
can any one tell me what is wrong in it... and does above error is occuring due to it.... thanks...

<html>

<head>
<title>kool-infotech Network.</title>
</head>

<body>
<?php

$db_type = 'mysql';
$db_host = 'localhost';
$db_name = 'cool124';
$db_username = 'cool124';
$db_password = 'xxxxxxxx';
$db_prefix = '';
$p_connect = false;

$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;

$language = 'en';

define('PUN', 1);

?>

</body>

</html>

Anupam Misra.
Be Kool.
kool-infotech Network Fourm.

Re: error plz help....

Remove the html-code, so it looks like this (without "Code:")

<?php

$db_type = 'mysql';
$db_host = 'localhost';
$db_name = 'cool124';
$db_username = 'cool124';
$db_password = 'xxxxxxxx';
$db_prefix = '';
$p_connect = false;

$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;

$language = 'en';

define('PUN', 1);

?>

Re: error plz help....

i have removed html code...

but error still comming up......

u can see that at http://freepgs.com/kool-infotech/

plz help me....

Anupam Misra.
Be Kool.
kool-infotech Network Fourm.

Re: error plz help....

There's still some spaces in the config-file. remove everything before <?php and efter ?>.

Re: error plz help....

i have done it uploaded many times....

but same thing is coming up again and again.......

what to do?

plz... help

Anupam Misra.
Be Kool.
kool-infotech Network Fourm.

Re: error plz help....

kool124 wrote:

what to do?

You do it right. Just copy the information from config.php, and don't change anything!

Re: error plz help....

i have done it sucesss...........

oh... kool

thank god........

its running wild....... http://kool-infotech.tk

thanks for ur support i will need it in future too....

thanks...

Anupam Misra.
Be Kool.
kool-infotech Network Fourm.