Some of you don't understand how the path settings are working, so I made a little tutorial to help you understand better.
First, create a file with the content:
[high]
<?php phpinfo(32); ?>[/high]
Save it as
info.php and upload it to your
/forum folder.
When you open info.php in your browser, you will see there a list of env options set as default by your host.
One of them is called
_SERVER["PATH_TRANSLATED"]. That's what you are looking for. The path to your folder.
Now, open vbHL index.php file and locate this code segment at the top:
chdir('[high]/wwwroot/test[/high]');
Replace the [high]/wwwroot/test[/high] path with your actual full server path.
Let's suppose your full server path to your forums (where global.php is located) is:
chdir('/home/test/htdocs/forum');
or
chdir('c:/apache/htdocs/forum'); (for windows users)
The
chdir function changes the path the the correct location of your global.php file, if you call it from a different location, like it's the case for vbHome (lite).
Example:
chdir('c:/apache/htdocs/forum');
In the example above, if you place the index.php file in [high]/htdocs[/high] folder, it will still look for global.php in [high]/forum[/high] because
chdir does the job for you and relocate the exact place where to look for the file (global.php).
The
require function let know that global.php file is needed.
The dot in front of [high]/global.php[/high] (in
require function) let know there is a link to either
chdir folder or actual folder.
Adjust the correct path in your vbHL index.php file, and everything will work as it's suppose to.