![]() |
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………….. |
Do a search on something like "ob_start();" because this has been covered numerous times.
|
not understand, i'm not english....
there is any way to fix this error and make a simple include? |
|
All times are GMT. The time now is 01:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|