Log in

View Full Version : Just got this error and everything is broke


TopShelfGamer
11-04-2011, 09:33 PM
Hey everyone im running vb 3.8 and i went and downloaded the config file from /includes and just added some super admins to the file and re uploaded it and now im gettin several errors such as :

Unable to add cookies, header already sent.
File: /home/vsn/public_html/forum/includes/config.php
Line: 1

Zachery
11-04-2011, 09:41 PM
You have a BOM, or other junk data infront of <?php in your config file.

How did you edit the file? Did you make sure to save it as ASCII only text file?

TopShelfGamer
11-04-2011, 09:42 PM
I just downloaded via Filezilla and opened the file in note pad and changed only the super admin member ids.

the line 1 of my config file is this


<?php /*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 3.8.6 Patch Level 1
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ?2000-2010 Jelsoft Enterprises Ltd. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| ################################################## ################## ||
\*================================================ ======================*/

Zachery
11-04-2011, 09:55 PM
Chances are your editor isn't showing the UTF8 bom. But a file save as, and make sure to select ANSI for the encoding. then check it again.

TopShelfGamer
11-04-2011, 09:57 PM
Chances are your editor isn't showing the UTF8 bom. But a file save as, and make sure to select ANSI for the encoding. then check it again.

What kind of program do i need to open it with to save ansi? notepad doesnt give me that option

--------------- Added 1320444435 at 1320444435 ---------------

Chances are your editor isn't showing the UTF8 bom. But a file save as, and make sure to select ANSI for the encoding. then check it again.

nevermind i am an idiot.. thank you very much for your helpi got it

Zachery
11-07-2011, 10:42 PM
Awesome :)