Quote:
Originally Posted by SpikedRocker
The error being tossed is: [11-Nov-2012 18:19:30 UTC] PHP Fatal error: Cannot redeclare construct_depth_mark() (previously declared in C:\inetpub\wwwroot\forum2\awards.php:99) in C:\inetpub\wwwroot\forum2\includes\adminfunctions. php on line 1922
The fix I've done is just comment out the if statement of makemarkdepth starting at line 97 going through line 109.
Its my opinion that this bit of code is not needed as the function is now being declared by vB itself now.
|
Its declared by vbulletin, always was, but isn't accessible to the awards.php page unless you're including inlcudes/adminfunctions.php, which YaAS does not do by default. One of your other plugins is making a connection to includes/adminfunctions.php that isn't there normally. The real problem is the mod is doing it badly. If you notice the code you commented out is surrounded by an if statement checking if the function exists, so if their code was working correctly the construct_depth_mark wouldn't be (re)declared by awards.php. The fact that its generating an error with the if statement there means there's a flaw in the code of another plugin you're using.
What other plugins do you have installed?