The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
ERROR include PHP in template
hi all, i have some problem, i need to include an external php file in my template (called Justwhite)
i've create this plugin ob_start(); include('inclusion/inclusion.php'); $includedphp = ob_get_contents(); ob_end_clean(); vB_Template: preRegister('ad_global_below_navbar',array('includ e dphp ' => $includedphp)); but i get an error?? Fatal error: Call to a member function query_first_slave() on a non-object in /forum/includes/class_bootstrap.php on line 894 why? --------------- Added [DATE]1288872351[/DATE] at [TIME]1288872351[/TIME] --------------- there's no way to include a simple php in my template? i get always the same error, i've try many plugin, it's impossible……….simple inclusion………….. |
#2
|
||||
|
||||
Do a search on something like "ob_start();" because this has been covered numerous times.
|
#3
|
|||
|
|||
not understand, i'm not english....
there is any way to fix this error and make a simple include? |
#4
|
|||
|
|||
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|