Hello,
I'm doing a massive vBulletin integration project, however whenever I try to create pages including global.php (so I can use vbulletin variables etc) I get the following error.
Code:
Warning: require_once(/home/xxxxx/subdomains/xxxx/includes/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxxx/subdomains/xxxx/forums/global.php on line 23
Fatal error: require_once() [function.require]: Failed opening required '/home/xxxx/subdomains/xxxx/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/subdomains/xxxx/forums/global.php on line 23
It seems to be trying to include a file called init.php from the wrong directory, instead of trying to get it from /forums/includes/init.php, it's trying to get it from /includes/init.php... which doesn't exist.
If anyone could help me this would be great.
By the way, the way I currently have it setup is as follows
http://www.my.com/forums = the forums, and where global.php is stored
http://www.my.com/ = website i'm trying to integrate with, and is where I'm trying to include('./forums/global.php'); from
And the forums work fine.