vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   I keep getting this message when i go to my forum (https://vborg.vbsupport.ru/showthread.php?t=173159)

thecool444 03-16-2008 08:13 AM

I keep getting this message when i go to my forum
 
Does anyone know why i get this message when i go to my forum:

Unable to add cookies, header already sent.
File: /home/mmorpglo/public_html/Forum/includes/functions.php
Line: 5299

Can someone please tell me how to fix this.

I got this error when i intsalled a chatroom called flashchat. It worked fine but the next day it came up with a problem about config.php and people told me to upload a fresh config.php and fill out the details so i did. Now when i go to my website i have this error

Unable to add cookies, header already sent.
File: /home/mmorpglo/public_html/Forum/includes/functions.php
Line: 5299

Khalid-B 03-16-2008 08:33 AM

i think u have edited ur config.php file and you added < extra any where or may be you edited any templet and its missing some thing.

thecool444 03-16-2008 08:37 AM

So what should i do.

Boofo 03-16-2008 08:42 AM

Look at the config.php file on that line and see what you did.

thecool444 03-16-2008 08:45 AM

Should i upload my config.php file in this thread.

Khalid-B 03-16-2008 08:45 AM

if u made some change in config.php than just upload it again and be sure to add ur database detals as well and if some thing wrong with any templet that u made and forgot than just delete style xml file from your ACP and upload it again....

Its better if u can check your forum with another skin and if the same error than problem should be in config.php

Dismounted 03-16-2008 08:48 AM

Upload the config.php.new file from a fresh download and upload it to your includes directory. Delete the old config.php and rename the newly uploaded one to config.php. Edit the new config.php to match your server.

Or alternatively, goto line 182 of your config.php and remove the rogue "<".

thecool444 03-16-2008 08:56 AM

Now i get this message

Unable to add cookies, header already sent.
File: /home/mmorpglo/public_html/Forum/includes/class_core.php
Line: 3127

Dismounted 03-16-2008 09:39 AM

Disable all your modifications.

thecool444 03-16-2008 09:40 AM

I got all these errors when i installed a chatroom called flashchat. Im going to unistall that and see what happens.

EDIT: Should i just delet the folder chat in my dorum directory because i can't access my forum at all so i can't get to the uninstallation of it.

Dismounted 03-16-2008 10:05 AM

Add this to the end of your config.php:
PHP Code:

define('DISABLE_HOOKS'true); 

Then go in and uninstall whatever you need to uninstall.

thecool444 03-16-2008 10:11 AM

ok trying it now. Thanks

EDIT: still doesn't work :( Is there anything else i can do.

Khalid-B 03-16-2008 10:51 AM

what is your forum link?

thecool444 03-16-2008 06:04 PM

www.mmorpglord.com/Forum

--------------- Added [DATE]1205696985[/DATE] at [TIME]1205696985[/TIME] ---------------

Well what should i do?

snakes1100 03-16-2008 08:26 PM

Well check the other thread you posted to and disable the plugin system as i suggested.

thecool444 03-16-2008 08:31 PM

how do i diable the plugin system i can't acess admincp.

snakes1100 03-16-2008 08:32 PM

Check the other thread you posted in, i posted it there already.

Jase2 03-16-2008 09:09 PM

To troubleshoot this, first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions


[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

Next, disable all plugins.

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Do you have the same problem?

Regards Jason :)

thecool444 03-17-2008 01:54 AM

Now this is really weird. I went to a friends house and my site worked on his computer. It doesn't work on mine tho. Im going to do a restart and see if that helps. Thanks to everyone that helped.

EDIT: Now my website is working perfectly. That was a really weird error. Thankyou all again


All times are GMT. The time now is 12:48 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.01033 seconds
  • Memory Usage 1,748KB
  • 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)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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