Log in

View Full Version : Unable to add cookies, header already sent. includes/class_core.php


khaales
05-01-2008, 04:04 AM
hi
some one help me please

when i upgrade to VB3.7 my admincp is not open and it shows me this error:

Unable to add cookies, header already sent.
File: .../public_html/forum/includes/class_core.php
Line: 3237

and show me in the top of page this:

Warning: include([path]/includes/vb_ad_management/cache_templates.php) [function.include]: failed to open stream: No such file or directory in [path]/global.php(365) : eval()'d code on line 63

Warning: include() [function.include]: Failed opening '[path]/includes/vb_ad_management/cache_templates.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/global.php(365) : eval()'d code on line 63


what can I do
help me please :(:(:confused:

Dismounted
05-01-2008, 06:35 AM
This is probably caused by a modification you have installed. Disable them to see if it fixes your problem.

khaales
05-01-2008, 02:43 PM
hi and tanx for youe answer

But a problem is that: I cant sign in to my admin panel too disable them
I was upload my 3.6.8 again and try to login but same error was occured.
Then I was install a fresh VB 3.7 from begining in the new DataBase and it was work but when I change the name of my new data base to old data base in Config.php an error occured.

I hope U help me and answer me az soon az possible because my Users are very angry..
Thanks

Opserty
05-01-2008, 02:45 PM
<a href="http://www.vbulletin.com/docs/html/disable_plugins" target="_blank">Help! I've broken my board!</a> - Shows you how to regain access, should your AdminCP cease to function correctly.

Boofo
05-01-2008, 02:46 PM
Add this to your config.php file:

define('DISABLE_HOOKS', true);

khaales
05-01-2008, 03:02 PM
hi

tancks alot
so much tanx and .. and ...
I am very happy....
thank you again
:D
:)

rmani84
12-10-2010, 09:54 AM
Add this to your config.php file:

define('DISABLE_HOOKS', true);

wow ... Thanks a lot ... I imported a damn plugin and i got damn scared. Thanks a lot. This worked like charm.

I removed this entry after i uninstalled the plugin

kienna
04-05-2011, 07:35 AM
Add this to your config.php file:

define('DISABLE_HOOKS', true);

hi bro, if i disable how can i run mod, product ... :( :( :( :(