PDA

View Full Version : Unable to add cookies, header already sent. (Functions_videos.php)


Tirabytes
08-22-2010, 09:05 AM
Hi,

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

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

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.