Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error with paypal module


tonyv

Recommended Posts

We have looked all over the forums and have not been able to come up with any help to our problem.

So, if you have a fix for us, Thank you very much a head of time.

ok, here is the issue.

 

We just moved over our site from yahoo server to a new one, all seemed good until check out.

here is the warning message we are getting. and it is driving us crazzy trying to come up with a fix.

 

Warning: main() [function.main]: open_basedir restriction in effect. File(/catalog/includes/modules/payment/paypal/classes/Page/Page.class.php) is not within the allowed path(s): (/home/vleds:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/vleds/public_html/catalog/admin/paypal.php on line 21

 

Warning: main(/catalog/includes/modules/payment/paypal/classes/Page/Page.class.php) [function.main]: failed to open stream: Operation not permitted in /home/vleds/public_html/catalog/admin/paypal.php on line 21

 

Warning: main() [function.main]: open_basedir restriction in effect. File(/catalog/includes/modules/payment/paypal/classes/Page/Page.class.php) is not within the allowed path(s): (/home/vleds:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/vleds/public_html/catalog/admin/paypal.php on line 21

 

Warning: main(/catalog/includes/modules/payment/paypal/classes/Page/Page.class.php) [function.main]: failed to open stream: Operation not permitted in /home/vleds/public_html/catalog/admin/paypal.php on line 21

 

Fatal error: main() [function.require]: Failed opening required '/catalog/includes/modules/payment/paypal/classes/Page/Page.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vleds/public_html/catalog/admin/paypal.php on line 21

 

 

 

we are a bit green... please if you know how we can fix this.... please be specific on which files we need to edit, and which lines etc......

 

 

thanks again for any help you can give us....

Link to comment
Share on other sites

We have looked all over the forums and have not been able to come up with any help to our problem.

So, if you have a fix for us, Thank you very much a head of time.

ok, here is the issue.

 

We just moved over our site from yahoo server to a new one, all seemed good until check out.

here is the warning message we are getting. and it is driving us crazzy trying to come up with a fix.

 

Warning: main() [function.main]: open_basedir restriction in effect. File(/catalog/includes/modules/payment/paypal/classes/Page/Page.class.php) is not within the allowed path(s): (/home/vleds:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/vleds/public_html/catalog/admin/paypal.php on line 21

 

Warning: main(/catalog/includes/modules/payment/paypal/classes/Page/Page.class.php) [function.main]: failed to open stream: Operation not permitted in /home/vleds/public_html/catalog/admin/paypal.php on line 21

 

Warning: main() [function.main]: open_basedir restriction in effect. File(/catalog/includes/modules/payment/paypal/classes/Page/Page.class.php) is not within the allowed path(s): (/home/vleds:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/vleds/public_html/catalog/admin/paypal.php on line 21

 

Warning: main(/catalog/includes/modules/payment/paypal/classes/Page/Page.class.php) [function.main]: failed to open stream: Operation not permitted in /home/vleds/public_html/catalog/admin/paypal.php on line 21

 

Fatal error: main() [function.require]: Failed opening required '/catalog/includes/modules/payment/paypal/classes/Page/Page.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vleds/public_html/catalog/admin/paypal.php on line 21

we are a bit green... please if you know how we can fix this.... please be specific on which files we need to edit, and which lines etc......

thanks again for any help you can give us....

 

 

 

 

anyone on duty that can help out... I know it is the holidays and all..... it is my experience here in the forums with past post requests I have had that the longer my question sits in here unanswered the more chance it will get barried... dont mean to be a pest, but I think I have been quite open about our problems, ,, surely someone here can help.... thanks again

Link to comment
Share on other sites

anyone on duty that can help out... I know it is the holidays and all..... it is my experience here in the forums with past post requests I have had that the longer my question sits in here unanswered the more chance it will get barried... dont mean to be a pest, but I think I have been quite open about our problems, ,, surely someone here can help.... thanks again

 

 

The issue is with the way the webserver is set up. I assume it's a shared server which is restricting where you can go - hence the "open_basedir restriction in effect" - you don't want one customer getting into other customers files!

 

I would check the configure.php files. Paths can be so sensitive! Basically the code is trying to get outside your allocated folder on your webserver - maybe the issue lies with the bounce from http to https?

 

Hope this helps but can't be that specific without seeing the files and the webserver itself...

Link to comment
Share on other sites

In fact I've just been to have a look at my files.

 

Do you have any Paypal mods installed? The path itself looks incorrect....

 

File(/catalog/includes/modules/payment/paypal/classes/Page/Page.class.php)

 

Does this file actually exist? Is it part of a template system maybe? I don't have a page.class.php in my store, let alone a Page folder in Classes.

 

It does seem to be a path issue, (defined in includes\configure.php and admin\includes\configure.php) as I said before but exactly what it needs to be set to depends on your webserver.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...