Bugs » Getting error when implementing with vBulletin.

added on Sep 8, 2006 by Dustin
So I had installed a product that allows php in templates, and I have installed linkEX into my root folder, and did the
initial configuration, and include the line <?php include('linkex/links.dat'); ?> in one of my templates, but I
get this error.


Warning: Unknown(linkex/links.dat): failed to open stream: No such file or directory in /global.php(548) : eval()'d
code(3) : eval()'d code on line 1

Warning: (null)(): Failed opening 'linkex/links.dat' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
in /global.php(548) : eval()'d code(3) : eval()'d code on line 1


Any help would be appreciated.
added on Sep 8, 2006 by v0id
Hi there.

First of all, I would try using the complete path to the file, eg.

/home/yourname/www.domain.com/linkex/links.dat

and see if that will help you out. From the errors, it seems that the include is not made from the document root folder,
but somwhere else.

Left me know how it works out

- v0id

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.