Log in

View Full Version : Error Pulling AutoRank Listings into Custom vB Page


Michael2
03-10-2005, 05:42 PM
If I'm not wording this right please bear with me...

I set up a custom vBulletin page using this edit...

http://www.vbulletintemplates.com/mods/showthread.php?t=4354

We're trying to pull the output from AutoRank into it (using includes) but keep getting the following erros...


Warning: Unknown(): open_basedir restriction in effect. File(/links/index.php) is not within the allowed path(s): (/httpdocs:/tmp) in /httpdocs/boards/global.php(400) : eval()'d code on line 7

Warning: Unknown(/links/index.php): failed to open stream: Operation not permitted in /httpdocs/boards/global.php(400) : eval()'d code on line 7

Fatal error: (null)(): Failed opening required '/links/index.php' (include_path='.:/usr/share/pear') in /httpdocs/boards/global.php(400) : eval()'d code on line 7

Is this because AutoRank is not in the vBulletin directory?

Marco van Herwaarden
03-10-2005, 05:45 PM
I think you should use either the full path, or a relative path to the index ( ./links/index.php or /home/user/links/index.php)

Michael2
03-10-2005, 06:02 PM
I removed the full path from the error codes if that's what you mean. Friend told me I shouldn't post them.

If this helps we've been using the instructions here...

http://www.vbulletin.com/forum/showthread.php?t=30257&highlight=includes+php+template

He thinks it may be because it's trying to pull stuff from outside the vBulletin directory.

Marco van Herwaarden
03-10-2005, 06:47 PM
Your webserver don't allow you to run scripts outside the /httpdocs or /tmp directories.