Jump to content

store homepage error


Guest nuk2

Recommended Posts

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/

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...