The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
I'm trying to add some PHP includes to my sites home non-vB page. I'm not too familiar witht his stuff but I follow directions well Anyway, I'm using <? include("vbforums/filename.php"); ?> to read the info but I keep getting the following error:
Fatal error: Failed opening required './admin/config.php' (include_path='.:/usr/local/lib/php') in /home/www/mysite/vbforums/global.php on line 96 I've received this error on several different hacks I've attempted. What can i do to remedy this? |
#2
|
||||
|
||||
Try this (no idea if it will work but worth a try):
PHP Code:
|
#3
|
||||
|
||||
I found I needed to use the chdir command. Oddly I'm having to use it with each and evry include on the page, not sure if that's the way ti's supposed to be ot not, but, it's all working. Thanks for the reply.
|
#4
|
||||
|
||||
Easiest way is to just alter your include_path. There are two way you can do this...
Via .htaccess: Code:
php_value include_path .:/home/www/mysite/vbforums:/home/www/mysite/php-includes PHP Code:
PHP Docs: ini_set(), ini_get() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|