The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Function works in Forum but undefined in CMS
I am using a customization to pull the title of the latest entry in an external blog. See https://vborg.vbsupport.ru/showthread.php?t=234254 for details
This works fine and generates no errors in the Forum. However, I've now enabled the CMS and when I do that and try to leave a comment I get this error: Code:
Fatal error: Call to undefined function CarpCacheShow() in /path/to/forum/includes/class_postbit.php(277) : eval()'d code on line 2 The function in question is called in a plugin using the postbit_display_start hook: PHP Code:
(Reposted from http://www.vbulletin.com/forum/showt...defined-in-CMS as Lynne suggested) --------------- Added [DATE]1272819511[/DATE] at [TIME]1272819511[/TIME] --------------- I've discovered that I can avoid error messages if I use the global_start hook instead of the postbit_display_start hook and add a line like this: PHP Code:
--------------- Added [DATE]1272854336[/DATE] at [TIME]1272854336[/TIME] --------------- Added: No. That disables the errors on the home page of the CMS but as soon as you click through to one of the articles there are errors again. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|