vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Just got this error and everything is broke (https://vborg.vbsupport.ru/showthread.php?t=273392)

TopShelfGamer 11-04-2011 09:33 PM

Just got this error and everything is broke
 
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 :
Code:

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

Code:

<?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

Quote:

Originally Posted by Zachery (Post 2264556)
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 [DATE]1320444435[/DATE] at [TIME]1320444435[/TIME] ---------------

Quote:

Originally Posted by Zachery (Post 2264556)
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 :)


All times are GMT. The time now is 12:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01151 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete