Log in

View Full Version : Quite a few weird errors that has me stumped.


msudawgs64
09-20-2007, 06:53 AM
<a href="http://www.secrivals.com/vbulletin" target="_blank">http://www.secrivals.com/vbulletin</a>

1st error which runs down the top left of the board

Warning: Division by zero in /global.php(334) : eval()'d code on line 182

2nd error after I enter my password on the AdminCP

Unable to add cookies, header already sent.
File: /home/kgdseip/public_html/vbulletin/includes/class_core.php
Line: 2984

Lastly 3rd error just clicking on a topic or forum

Warning: Cannot modify header information - headers already sent by (output started at /home/kgdseip/public_html/vbulletin/includes/class_core.php:2984) in /includes/functions.php on line 2394

I am pretty new to the coding part of VBulletin but am savvy enough to fix issues if I know what they are, any help would be appreciated.

Dismounted
09-20-2007, 07:51 AM
They are most likely caused by modifications. DIsable all of your modifications and see if those messages disappear.

msudawgs64
09-20-2007, 12:25 PM
They are most likely caused by modifications. DIsable all of your modifications and see if those messages disappear.

thanks, how do I go about disabling these? Do I simply remove the modification files? I cannot get in the AdminCP at all so I hope I don't have to do it from there. Thanks in advance.

Dismounted
09-21-2007, 05:41 AM
Add this to the end of your config.php file (before ?>).
define('DISABLE_HOOKS', true);