Help - Search - Members - Calendar
Full Version: Errors After Install
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
Jordan06
G'day,

Today I installed CubeCart for one of my clients and after the install I got the following:

QUOTE
Warning: main() [function.main]: open_basedir restriction in effect. File(/config.inc.php) is not within the allowed path(s): (/var/www/vhosts/broadfieldwines.com.au/httpdocs:/tmp) in /var/www/vhosts/broadfieldwines.com.au/httpdocs/language/en/lang.inc.php on line 2977

Warning: main(config.inc.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/broadfieldwines.com.au/httpdocs/language/en/lang.inc.php on line 2977

Warning: main() [function.main]: open_basedir restriction in effect. File(/config.inc.php) is not within the allowed path(s): (/var/www/vhosts/broadfieldwines.com.au/httpdocs:/tmp) in /var/www/vhosts/broadfieldwines.com.au/httpdocs/language/en/lang.inc.php on line 2977

Warning: main(config.inc.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/broadfieldwines.com.au/httpdocs/language/en/lang.inc.php on line 2977

Warning: main() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/broadfieldwines.com.au/httpdocs/language/en/lang.inc.php on line 2977


Can anyone tell me what the issue is and how I can rectify the problem quickly.

Kind Regards
Jordan Scott
Jordan06
Issue Resolved!!
Dunkin
How was it resolved?!?

QUOTE(Jordan06 @ Apr 20 2007, 05:29 AM) *
Issue Resolved!!
Sir William
At the bottom of /language/en/lang.inc.php, you'll see the line:

include("config.inc.php");

Change it to this:

include("./config.inc.php");

That will get around the open_basedir restrictions.

w00t.gif
Robsta
QUOTE(Sir William @ May 3 2007, 09:06 PM) *
At the bottom of /language/en/lang.inc.php, you'll see the line:

include("config.inc.php");

Change it to this:

include("./config.inc.php");

That will get around the open_basedir restrictions.

w00t.gif
This didn't work for me... what did work was changing it to the full file path using the 'rootDir' entry in global.inc.php, with the additional language file path to config.inc.php.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.