vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Unable to add cookies, header already sent. (Functions_videos.php) (https://vborg.vbsupport.ru/showthread.php?t=249106)

Tirabytes 08-22-2010 09:05 AM

Unable to add cookies, header already sent. (Functions_videos.php)
 
Hi,

I am experiencing a weird issue in the forum I'm working with.

Code:

vBulletin Message

Unable to add cookies, header already sent.
File: /home/dyingkil/public_html/includes/functions_video.php
Line: 1

Searching around the net for similar causes and here are the steps I took..
  • Make sure no space before and after "<?"
  • Re-upload new functions_videos.php
  • Deleted all white-spaces in the file
  • Turned off all MODS and Plugins

This happens when I post a new thread.

Can someone please shed some light. :confused:

Lynne 08-22-2010 02:15 PM

Did you turn off the mods via config.php? Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


Tirabytes 08-22-2010 07:50 PM

Hi Lynne,

Thanks for replying. I did that method already. Turned off everything, still getting the same error.

It's just weird, line 1?? Nothing broken there..

Lynne 08-22-2010 11:28 PM

You didn't say what method you used to turn off the plugins which is why I specified doing it via the config.php file, not either of the other methods.

Have you tried redownloading the files and reuploading a fresh new file?

Tirabytes 08-23-2010 03:39 AM

Sorry, wasn't clear. I did the "define('DISABLE_HOOKS', true);" on the config.php already.

And yes I've tried re-uploading the original file/untouched file, no success.

At the moment, it's fixed. I asked one of the Developement guys to have a look and all they did was copy the content from functions_video.php into class_dm.php and comment out require_once, the that seems to fix it.

Thanks though Lynne for the replies.


All times are GMT. The time now is 04:14 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.01289 seconds
  • Memory Usage 1,713KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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