Fireflash Posted August 17, 2023 Posted August 17, 2023 Hello everyone, I use the old "Responsive-osCommerce-2.3.4-GOLD" newly installed. The automatic installer script worked perfectly. All files are original !!! Unfortunately I get the following error message with php 5.6.40. Warning: The use statement with non-compound name 'PayPal' has no effect in /usr/www/users/ ... /includes/modules/payment/paypal_rest.php on line 16 Parse error: syntax error, unexpected '?' in /usr/www/users/ ... /includes/modules/payment/paypal_rest.php on line 643 Can someone please help me how to fix the error. Quote
cinolas Posted October 23, 2023 Posted October 23, 2023 I'm having the same problem right now. PayPal 2.0 was written for php 7, and like you I'm still running osC 2.3.4 BS GOLD on php 5.6.4, so it doesn't work. This is what the error about the ? is about. I've put in some work to try and convert PayPal 2.0 to php 5.6.4 but there are a lot of files and I'm no good at php... I may have to ditch PayPal because of this. Have you found a solution? Quote
Jack_mcs Posted October 24, 2023 Posted October 24, 2023 Someone from the oscommerce team might correct me but, as I understand it, the Paypal module they released is not compatible with your version of oscommerce. It could be altered to work with it but will not work as it is. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
cinolas Posted October 24, 2023 Posted October 24, 2023 Just because of the php version? or for other factors? Turns out that my installation of osCommerce runs decently smooth with php 7.3, so I installed that. Will that suffice to make this PayPal 2.0 work? Cheers! Quote
Jack_mcs Posted October 24, 2023 Posted October 24, 2023 No, it is not compatible due to the file structure. It is meant to be ran on oscommerce 2.3 and there is quite a bit of difference between 2.3 and 2.3.4 Gold. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
cinolas Posted October 24, 2023 Posted October 24, 2023 Shucks. That's very good info, thank you! Quote
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.
Note: Your post will require moderator approval before it will be visible.