vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Config Help--Site Down URGENT (https://vborg.vbsupport.ru/showthread.php?t=281346)

bradleyj 04-10-2012 01:27 AM

Config Help--Site Down URGENT
 
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!


All times are GMT. The time now is 02:29 AM.

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.00900 seconds
  • Memory Usage 1,709KB
  • 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
  • (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