Jump to content

I'm probably being a klutz!


Guest brosville

Recommended Posts

Guest brosville

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:

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest brosville

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:

Link to comment
Share on other sites

Guest brosville

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:

Link to comment
Share on other sites

Guest brosville

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!)....... :w00t:

So I'm still missing something (I feel like I'm trying to conduct brain surgery with a hammer and chisel!) :)

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...