2000 Posts in 532 Topics by 435 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Help please - Silverstripe 2.4.4 + Payment 0.3.0 + eCommerce 0.5.2 failed
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1175 Views |
-
Help please - Silverstripe 2.4.4 + Payment 0.3.0 + eCommerce 0.5.2 failed

17 January 2011 at 11:20am Last edited: 17 January 2011 11:44am
Hi,
I have been trying to install the eCommerce module for a week now and keep getting stuck.
I just installed a fresh copy of Silverstripe 2.4.4.
I then installed Payment module version 0.3.0. Ran a dev/build and everything worked fine. I then installed the eCommerce module version 0.5.2, ran a dev/build and get the following warnings and fatal error:Warning: There are two files both containing the same class: 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/ecommerce/code/ChequePayment.php' and 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/payment/code/ChequePayment.php'. This might mean that the wrong code is being used. in C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4\sapphire\core\ManifestBuilder.php on line 487
Warning: There are two files both containing the same class: 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/ecommerce/code/DPSPayment.php' and 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/payment/code/DPSPayment/DPSPayment.php'. This might mean that the wrong code is being used. in C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4\sapphire\core\ManifestBuilder.php on line 487
Warning: There are two files both containing the same class: 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/ecommerce/code/PayPalPayment.php' and 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/payment/code/PayPalPayment.php'. This might mean that the wrong code is being used. in C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4\sapphire\core\ManifestBuilder.php on line 487
Warning: There are two files both containing the same class: 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/ecommerce/code/PayPalPayment.php' and 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/payment/code/PayPalPayment.php'. This might mean that the wrong code is being used. in C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4\sapphire\core\ManifestBuilder.php on line 487
Warning: There are two files both containing the same class: 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/ecommerce/code/Payment.php' and 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/payment/code/Payment.php'. This might mean that the wrong code is being used. in C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4\sapphire\core\ManifestBuilder.php on line 487
Warning: There are two files both containing the same class: 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/ecommerce/code/WorldpayPayment.php' and 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/payment/code/WorldpayPayment.php'. This might mean that the wrong code is being used. in C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4\sapphire\core\ManifestBuilder.php on line 487
Warning: There are two files both containing the same class: 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/ecommerce/code/WorldpayPayment.php' and 'C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4/payment/code/WorldpayPayment.php'. This might mean that the wrong code is being used. in C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4\sapphire\core\ManifestBuilder.php on line 487
Notice: DataObjectDecorator::extraDBFields() is deprecated. Please use extraStatics() instead. in C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4\sapphire\core\model\DataObjectDecorator.php on line 60
Fatal error: Call to undefined method MemberTableField::addPermissions() in C:\xampplite\htdocs\iqsmarterhome\silverstripe-v2.4.4\ecommerce\_config.php on line 17
Has anyone got the eCommerce module working on this version of Silverstripe? If so, can you please provide me with which version of the modules you used.
Any help would be much appreciated.
Cheers,
Ben -
Re: Help please - Silverstripe 2.4.4 + Payment 0.3.0 + eCommerce 0.5.2 failed

19 January 2011 at 10:49am
HI IDOLYZ,
If you want to use eCommerce 0.5.2 , you'll want to remove the Payment module, as eCommerce 0.5.2 already contains the Payment classes. Those error messages are telling you that the same classes have been included in your project twice.
From 0.6 onwards, payment has been separated out of eCommerce into it's own module.I would however recommend using a more recent version of eCommerce instead of 0.5.2.
regards,
Jeremy -
Re: Help please - Silverstripe 2.4.4 + Payment 0.3.0 + eCommerce 0.5.2 failed

20 January 2011 at 2:06am Last edited: 20 January 2011 2:07am
Hi Jeremy,
Thank you so much for that advice. I originally followed the documentation from the silverstripe docs, which said to use 0.5.2. I just installed 0.8.1 rc1 and its working great so far. Now to populate the products and test the payment with PayPal.
Cheers,
Ben
| 1175 Views | ||
|
Page:
1
|
Go to Top |


