View Single Post
Old July 29th, 2007, 12:13 PM   #1 (permalink)
jungleb0y
Junior Member
Verified Customer
 
Join Date: Mar 2005
Posts: 5
Server upgraded: Error on line 191 in header-inc.php

Warning: chdir() [function.chdir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/jungl3b/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/xxxxxx/public_html/photopost/header-inc.php on line 191


FIX:

Edit line 191 in header-inc.php
From: chdir($pppath . "/");
To: chdir($pppath . "../");


Also changed lines 15 and 16 in config-int.php (Don't think I needed to do this but I did anyway.)
Line 15
From: $vbpath = "/home/xxxxxx/public_html//forum";
To: $vbpath = "../forum";

Line 16
From: $pppath = "/home/xxxxxx/public_html//photopost";
To: $pppath = "../photopost";
jungleb0y is offline   Reply With Quote