PDA

View Full Version : Unable to add cookies, header already sent.


DR AUTONAMUS
08-04-2009, 01:55 PM
Unable to add cookies, header already sent.
File: /home/blackwat/public_html/forums/includes/config.php
Line: 1

I have looked all all I have seen people say helps is to use the

define('DISABLE_HOOKS', true);
But it didn't help.

http://www.blackwaterops.net/forums/

Bit more info, Just moved servers from Plesk to cPanel I have another forum (Installed after move) working fine,

Need anything else ask for it.

Lynne
08-04-2009, 02:59 PM
Edit your config.php file using a text editor (not something like word - justa plain text editor). Make sure you don't have any extra lines or spaces before the <?php . Also, did you add that line after the <?php ?

DR AUTONAMUS
08-04-2009, 03:08 PM
Yeah that is all fine, The config.php file is the exact same as when it was downloaded (apart from the database info) It is also the same as the other site that is working.

Lynne
08-04-2009, 03:43 PM
Try creating an all new config.php file for your non-working site and make sure you use a proper text editor when you edit it. then upload the new one.

DR AUTONAMUS
08-04-2009, 03:54 PM
I have tried that, I used the editor inside cPanel, I tried in notepad, I also used Dreamweaver, All not working.

Lynne
08-04-2009, 04:07 PM
I guess maybe the best thing to do is to put in a support ticket.

DR AUTONAMUS
08-04-2009, 04:27 PM
Okay will do.