I'm getting this error on one of my non-vB pages that uses vb's global.php for login purposes:
PHP Code:
Fatal error: Cannot redeclare wwu002activityupdate() (previously declared in /path/to/forums/global.php(360) : eval()'d code:238) in /path/to/forums/global.php(360) : eval()'d code on line 238
Here is the top part of the page which generates the error:
PHP Code:
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'chat');
chdir('/path/to/forums');
require('/path/to/forums/global.php');
include('/path/to/forums/global.php');
chdir('/path/to/forum.com');
I tried to disable the mod for the chat page by using this conditional in postbit:
PHP Code:
<if condition="THIS_SCRIPT == chat">
<else />
ACTIVITY MOD CODE
</if>
but it had no effect. I see that this mod has hooks in global_start. Perhaps there is a way to disable this mod for the chat script? This seems likely to work, since the only vB file included in the chat page is globals.php
Any assistance appreciated, thanks!