Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal Payment Pro problem with PEAR


Recommended Posts

Posted

I receive the following error upon check out:

 

Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/lib/php/PEAR.php) is not within the allowed path(s): ('.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/nfs/home:/usr/home:/usr/local/bin/') in /home/dazzl6/public_html/includes/modules/payment/paypal_wpp/PayPal.php on line 11

 

Warning: main(PEAR.php) [function.main]: failed to open stream: Operation not permitted in /home/dazzl6/public_html/includes/modules/payment/paypal_wpp/PayPal.php on line 11

 

Fatal error: main() [function.require]: Failed opening required 'PEAR.php' (include_path='/home/dazzl6/public_html/includes/modules/payment/paypal_wpp:.:/usr/lib/php:/usr/local/lib/php') in /home/dazzl6/public_html/includes/modules/payment/paypal_wpp/PayPal.php on line 11

 

I have been told that I don't have the pear app installed. How would i go about installing the pear app without disrupting what i have?

Posted

Got a response from LunarPages Tech

---- TECH RESPONSE STARTS HERE ----

 

Hello,

 

If using PHP 4

 

In your public_html folder add to .htaccess the following:

 

suPHP_ConfigPath /home/cpanelusername/public_html/

 

Then create (if not already available) a php.ini file and add to it :

 

open_basedir = ".:/home/yourcpanelname:/tmp:/usr/bin"

 

I did what they told me, but no luck. Please, anyone?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...