Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
writing a review causes this error? 
 
James B
Jr. Member
 
Total Posts:  19
Joined:  2007-11-13
 

http://www.craftantics.com/review/product/list/id/1/category/4/#review-form

See link. What is causing this? and can it be fixed?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Carpzone
Jr. Member
 
Total Posts:  3
Joined:  2008-03-18
 

I hav e the verry same problem with the last 3 versions ...

 
Magento Community Magento Community
Magento Community
Magento Community
 
James B
Jr. Member
 
Total Posts:  19
Joined:  2007-11-13
 

Yes this is very frustrating.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Thierry S.
Member
 
Total Posts:  35
Joined:  2008-03-19
Paris
 

everything is pretty well explain in the error, and has nothing to do at all with magento !!!

open_basedir restriction in effect. File(/usr/local/lib/php/Mage/Catalog/Block/Product/View/Super/Config.php) is not within the allowed path(s): (/home/cardcapers/:/tmp:/usr/local/lib/php/) in /home/cardcapers/domains/craftantics.com/public_html/app/code/core/Mage/Core/functions.php on line 150

please check your php configuration, the website running in this folder “/home/cardcapers/domains/craftantics.com” is trying to include files from here /usr/local/lib/php/Mage/Catalog/Block/Product/View/Super/ which is not allowed by the server configuration smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
James B
Jr. Member
 
Total Posts:  19
Joined:  2007-11-13
 

@ Space, yes I can see it isnt a problem with Magento as such. But fixing it I have no idea. What am I looking for in the php configuration?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Thierry S.
Member
 
Total Posts:  35
Joined:  2008-03-19
Paris
 

into your apache configuration into your <VirtualHost> tag you should have something like this

<Location />
php_admin_value open_basedir “ /home/cardcapers/domains/craftantics.com:/usr/lib/php/:/usr/share/pear/:/tmp/”
php_admin_value safe_mode “off”
</Location>

make sure you have /usr/local/lib/php/ into the php_admin_value line like this

<Location />
php_admin_value open_basedir “/usr/local/lib/php/:/home/cardcapers/domains/craftantics.com:/usr/lib/php/:/usr/share/pear/:/tmp/”
php_admin_value safe_mode “off”
</Location>

Do not copy paste. This is just an example and could break your configuration

in your php_admin_value open_basedir you have to make sure “/usr/local/lib/php” is into the list. Directories are separated by : in this list

hope that helps !!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dark Light
Jr. Member
 
Total Posts:  1
Joined:  2008-04-03
 

Hi,

This is not an issue with your server setup nor the open_basedir restrictions. open_basedir restrictions are there to ensure users on shared platforms cannot access files that they are not allowed to access; for example user X accessing user Y’s files.

Your issue is elsewhere and probably to do with how you have setup your configuration of the software; most likely what you have told it is the path to the public_html folder of your website or similar.

The user should never need to access that folder that Magento is trying to access, nor should the software. The folder probably does not even exist so there is no need to fiddle with your PHP configuration.

Hope that helps,

 
Magento Community Magento Community
Magento Community
Magento Community
 
jimmypalmer
Member
 
Total Posts:  61
Joined:  2008-05-04
 

dark light - could you shed some more light on this problem?  I’m still having issues with this.

Anyone else still having this issue?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53251 users|844 users currently online|107336 forum posts