Guest brosville Posted November 1, 2005 Share Posted November 1, 2005 I'm trying to get Paypal working in ver 3.05 - everything works fine until you press the "complete" button - I get "Warning: main(): open_basedir restriction in effect. File(/usr/share/pear/PEAR.php) is not within the allowed path(s): (/home/httpd/vhosts/camcentre.co.uk/httpdocs:/tmp) in /home/httpd/vhosts/camcentre.co.uk/httpdocs/shop/pear/Services/PayPal.php on line 11 Warning: main(PEAR.php): failed to open stream: Operation not permitted in /home/httpd/vhosts/camcentre.co.uk/httpdocs/shop/pear/Services/PayPal.php on line 11 Fatal error: main(): Failed opening required 'PEAR.php' (include_path='/home/httpd/vhosts/camcentre.co.uk/httpdocs/shop/pear:.:/usr/share/pear') in /home/httpd/vhosts/camcentre.co.uk/httpdocs/shop/pear/Services/PayPal.php on line 11" what did I do wrong? :whistle: Quote Link to comment Share on other sites More sharing options...
markscarts Posted November 1, 2005 Share Posted November 1, 2005 Hi, I performed a search under "open_basedir restriction in effect" and got these results The post "link to my digital product" offers some insight by Estelle on this error. When you expand the search to 90 days, you get a little more helpful information: Insight from Sir William And in this post, convict (another one here who is up on php) siezes on the same thing Sir William did, that there may be an incorrect path specified in global.inc Quote Link to comment Share on other sites More sharing options...
Guest brosville Posted November 1, 2005 Share Posted November 1, 2005 thanks very much indeed for that, I've had a quick go at making changes in the file, but it's not happy - I'll go walk the dogs, clear my head, and have another go! :whistle: Quote Link to comment Share on other sites More sharing options...
Guest brosville Posted November 1, 2005 Share Posted November 1, 2005 just before leaving, I checked the php settings - it was on "safe", so called my server people - they've wandered off muttering something about making sure I've got access to some pears!- will report later! :whistle: Quote Link to comment Share on other sites More sharing options...
Guest brosville Posted November 1, 2005 Share Posted November 1, 2005 getting there! - it appears my server people have installed, and allow access to something that shouts its identity - "PEAR".............now gets me to stage 5, and I get a "transaction failed" (no error messages any more!)....... So I'm still missing something (I feel like I'm trying to conduct brain surgery with a hammer and chisel!) :) 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.