The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello, I need help please :surprised:
I want to use some PHP Includes in my vbulletin... I've done as instructed (http://www.vbulletin.com/docs/html/m...tes_phpinclude) and I get this error on the forumhome (wich is my chosen template, where i want my news to appear): Code:
Warning: Division by zero in /home/gensosys/public_html/boards/global.php(394) : eval()'d code on line 2 Warning: Unknown(php?): failed to open stream: No such file or directory in /home/gensosys/public_html/boards/global.php(394) : eval()'d code on line 2 Warning: (null)(): Failed opening 'php?' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gensosys/public_html/boards/global.php(394) : eval()'d code on line 2 Code:
ob_start(); include_once(?news/show_news.php?); $included_file = ob_get_contents(); ob_end_clean(); Code:
$included_file |
#2
|
|||
|
|||
![]()
Change
PHP Code:
PHP Code:
I don't know what editor you have been using but maybe your editor changed that. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|