Guest nuk2 Posted October 20, 2006 Share Posted October 20, 2006 After installing the cart, i got this error: Warning: main() [function.main]: open_basedir restriction in effect. File(/config.inc.php) is not within the allowed path(s): (/var/www/vhosts/pcgsolution.com/httpdocs:/tmp) in /var/www/vhosts/pcgsolution.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main(config.inc.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/pcgsolution.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main() [function.main]: open_basedir restriction in effect. File(/config.inc.php) is not within the allowed path(s): (/var/www/vhosts/pcgsolution.com/httpdocs:/tmp) in /var/www/vhosts/pcgsolution.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main(config.inc.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/pcgsolution.com/httpdocs/store/language/en/lang.inc.php on line 2950 Warning: main() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/pcgsolution.com/httpdocs/store/language/en/lang.inc.php on line 2950 Can any one help me? you can see the error here: http://pcgsolution.com/store/ Quote Link to comment Share on other sites More sharing options...
vokf Posted October 20, 2006 Share Posted October 20, 2006 It sounds like your host has enabled safe mode for PHP. If you google for "open_basedir restriction in effect", you'll see that its a common error (not a cubecart problem), and the main answer is to contact your webhost and ask them to tweak the server. Jason Quote Link to comment Share on other sites More sharing options...
Guest nuk2 Posted October 20, 2006 Share Posted October 20, 2006 ok thanks i will try :) Quote Link to comment Share on other sites More sharing options...
Guest Arild Posted October 20, 2006 Share Posted October 20, 2006 Try using relative path in the config.inc.php file in sted of full server path. Normaly you are aowed to access catalogs within your own area. Thats way you have the .: in the path statment. The . means current directory and : is a seperator for more pahts. Try to change /var/www/vhosts/pcgsolution.com/httpdocs/store/ to /httpdocs/store/ or httpdocs/store/ open basedir restrict you from accesing paths outside your area and witch are not set up for you to access. Normaly you have access to php include folder, tmp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.