Log in

View Full Version : Config Help--Site Down URGENT


bradleyj
04-10-2012, 01:27 AM
Hi, we are experiencing some issues on my forum. I started a post here and ask for advice so we can fix it.

When going to the forums this pops up Unable to add cookies, header already sent.
File: /home/bradleyj/public_html/offtopica.net/includes/config.php
Line: 1

when going in the admin cp optons this comes up

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/config.php:1) in [path]/includes/functions.php on line 3150

kh99
04-10-2012, 01:49 AM
That happens when you edit the includes/config.php file with a program made for word processing, and it leaves some unwanted characters at the beginning of the file. You should use a programming editor, but I think notepad works OK. Try editing it again, and see if you see any weird characters in there. (Top line should be "<?php", without the quotes).

bradleyj
04-10-2012, 01:53 AM
Okay, thanks so much for a fast reply. I was originally trying to add a secondary super admin to my config file and make our accounts non editable by other staff. Will I have to change anything else, such as any other unwanted characters? Or I could probably use my original backup. Thanks again for the fast reply.

kh99
04-10-2012, 01:56 AM
I'm not sure, I think it's usually just at the top, but if you have a copy of the file before you made today's changes then it might be easier to just use that and make the change again with a different program.

ForceHSS
04-10-2012, 03:17 AM
use notepad++ to edit your config works well

bradleyj
04-10-2012, 11:38 PM
Okay, thanks for all the help. The issue has been fixed! Thanks again!