PDA

View Full Version : Found config.pho made a few changes now a problem


FeatheredFriend
06-13-2009, 02:32 PM
Ok question if you don't mind. I was able to get into the config.php file. I went to the file change the variables for permissions to stuff in the admin cp from 1 which was our previous lady that messed us up but and added 2, 1244 and 927 which are our super admin id's now I am getting this message when I go to the forum

Unable to add cookies, header already sent.
File: /home/content/k/l/e/klescinsky/html/forums/includes/config.php
Line: 1

not sure what i did to make this happen other than put these 3 id's for admins so that they can do everything in the backroom. Anythoughts?

Dismounted
06-13-2009, 02:37 PM
Could you just post the line(s) that you have changed? Also make sure there is no white-space at the start of the document (e.g. line breaks, etc.).

Lynne
06-13-2009, 02:42 PM
Make sure you didn't add an extra line at the top of the file. Also, make sure you are using a text editor, not something like Microsoft Word to edit your files (it will add extra stuff in there).

FeatheredFriend
06-13-2009, 02:54 PM
I am using note pad, I can get smething else if I need to but now I have to get this fixed. Thanks Lynne.

--------------- Added 1244913276 at 1244913276 ---------------

Thanks Lynne and Dismounted I got it fixed. I used the new config.php file from vb's download and just made the corrects with a new editor called html kit instead of notepad and it's all back up and running. I also got the admin changes in the config.php file as well.

sheppardzwc
06-13-2009, 11:57 PM
I am using note pad, I can get smething else if I need to but now I have to get this fixed. Thanks Lynne.

--------------- Added 1244913276 at 1244913276 ---------------

Thanks Lynne and Dismounted I got it fixed. I used the new config.php file from vb's download and just made the corrects with a new editor called html kit instead of notepad and it's all back up and running. I also got the admin changes in the config.php file as well.
You might be interested in this to edit your PHP/HTML files: http://notepad-plus.sourceforge.net/uk/about.php

FeatheredFriend
06-14-2009, 01:25 AM
Thanks Sheppardzwc appreciate that.