ive installed VBadvanced links directory on my vbulletin site http://savemoneytalk.com/links/ anyone who whats causing this error? Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/save/public_html/links/links_global.php on line 15 Warning: require_once(/global.php) [function.require-once]: failed to open stream: No such file or directory in /home/save/public_html/links/links_global.php on line 44 Fatal error: require_once() [function.require]: Failed opening required '/global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/save/public_html/links/links_global.php on line 44 PHP:
Apparently for some reason the script cannot find or access those two files. Check if they were uploaded correctly, check if they're still there and check the CHMOD.
I'm sure 644 should be fine. Could you copy paste the code around line 44 of the file /links/links_global.php?
thanx mate i thought so heres the code ); require_once('/global.php'); [B]LINE 44[/B] // Redirect if using cat jump (have to have it here to include the session) if ($redirect) PHP:
Ok. Instead of require_once('/global.php'); write the full path to the global.php file including http://. Something like: require_once('http://savemoneytalk.com/links/global.php'); OR remove the "/" like this: require_once('global.php');
I'm guessing that would be the problem, because the "/" means root, so it's trying to access http://savemoneytalk.com/global.php. If he'd add the full URL, remove the "/" or write "/links/global.php" it should work.
thanx to both warden and shazz someone at the VB forum gave me the same solution as warden thanx for your help guys