Trovador
02-14-2005, 12:10 PM
Hello, I need help please :confused:
I want to use some PHP Includes in my vbulletin...
I've done as instructed (http://www.vbulletin.com/docs/html/main/templates_phpinclude) and I get this error on the forumhome (wich is my chosen template, where i want my news to appear):
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
The code inserted on phpinclude_start was :
ob_start();
include_once(?news/show_news.php?);
$included_file = ob_get_contents();
ob_end_clean();
The code inserted on forumhome was :
$included_file
What can I do to solve this problem? Any suggestions to make this work?
I want to use some PHP Includes in my vbulletin...
I've done as instructed (http://www.vbulletin.com/docs/html/main/templates_phpinclude) and I get this error on the forumhome (wich is my chosen template, where i want my news to appear):
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
The code inserted on phpinclude_start was :
ob_start();
include_once(?news/show_news.php?);
$included_file = ob_get_contents();
ob_end_clean();
The code inserted on forumhome was :
$included_file
What can I do to solve this problem? Any suggestions to make this work?