1999 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » [SOLVED] Last Ecommerce Trunk: A lot of problems...new error Invalid arguments passed
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: | 1224 Views |
-
[SOLVED] Last Ecommerce Trunk: A lot of problems...new error Invalid arguments passed

7 June 2010 at 1:53am Last edited: 9 June 2010 7:51am
I downloaded last ecommerce trunk e last payment trunk.
- modules_ecommerce_trunk-r106216.zip ( link on ecommerce wiki page )
- payment-trunk-r105308.tar.gz ( from extrension page )but I see that there are a lot of problems.
What are more stable version for 2.4?[Warning] implode() [function.implode]: Invalid arguments passed
GET /PhPSites/ss240/new-productgroup/p5/
Line 365 in C:\xampp\htdocs\ss240\sapphire\core\ViewableData.phpSource
356 * @param bool $forceReturnedObject if TRUE, the value will ALWAYS be casted to an object before being returned,
357 * even if there is no explicit casting information
358 * @param string $cacheName a custom cache name
359 */
360 public function obj($fieldName, $arguments = null, $forceReturnedObject = true, $cache = false, $cacheName = null) {
361 if(isset($_REQUEST['debug_profile'])) {
362 Profiler::mark("obj.$fieldName", "on a $this->class object");
363 }
364
365 if(!$cacheName) $cacheName = $arguments ? $fieldName . implode(',', $arguments) : $fieldName;
366
367 if(!isset($this->objCache[$cacheName])) {
368 if($this->hasMethod($fieldName)) {
369 $value = $arguments ? call_user_func_array(array($this, $fieldName), $arguments) : $this->$fieldName();
370 } else {
371 $value = $this->$fieldName;
Trace
implode(,,subtotal)
Line 365 of ViewableData.php
ViewableData->obj(_subtotal,subtotal,,1,Array)
Line 411 of ViewableData.php
ViewableData->cachedCall(_subtotal,subtotal,Array)
Line 1 of Object.php(850) : runtime-created function
__lambda_func(Order,Array)
Line 714 of Object.php
Object->__call(SubTotal,Array)Order->SubTotal()
Line 369 of ViewableData.php
ViewableData->obj(SubTotal,,1)
Line 348 of .cacheC..xampp.htdocs.ss240.ecommerce.templates.Layout.Product.ss
include(C:\Windows\Temp\silverstripe-cacheC--xampp-htdocs-ss240\.cacheC..xampp.htdocs.ss240.ecommerce.templates.Layout.Product.ss)
Line 392 of SSViewer.php
SSViewer->process(Product_Controller,Zend_Cache_Frontend_Output)
Line 383 of SSViewer.php
SSViewer->process(Product_Controller)
Line 202 of Controller.php
Controller->handleAction(SS_HTTPRequest)
Line 134 of RequestHandler.php
RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
Controller->handleRequest(SS_HTTPRequest)
Line 199 of ContentController.php
ContentController->handleRequest(SS_HTTPRequest)
Line 184 of ContentController.php
ContentController->handleRequest(SS_HTTPRequest)
Line 67 of ModelAsController.php
ModelAsController->handleRequest(SS_HTTPRequest)
Line 283 of Director.php
Director::handleRequest(SS_HTTPRequest,Session)
Line 127 of Director.php
Director::direct(new-productgroup/p5/)
Line 127 of main.phpThank you
-
Re: [SOLVED] Last Ecommerce Trunk: A lot of problems...new error Invalid arguments passed

7 June 2010 at 11:07am
Hi biapar.
The ecommerce trunk from https://code.google.com/p/silverstripe-ecommerce is the one you need - it fixes compatability issues with SS2.4 and Payments module.
Have included a zipped version of the source here if you don't have SVN access.
Jedateach: If you are watching this, can we have a zip file on the google-code site as well?
Cheers.
-
Re: [SOLVED] Last Ecommerce Trunk: A lot of problems...new error Invalid arguments passed

8 June 2010 at 9:49am
Thank you very much. Il try.
May be a good thing , to create at every commit, a zip file to download from google code.
Do I need 0.3v Payment or trunk version from SilverStripe site?Bye
-
Re: [SOLVED] Last Ecommerce Trunk: A lot of problems...new error Invalid arguments passed

9 June 2010 at 7:50am
Solved with last ecommerce trunk
| 1224 Views | ||
|
Page:
1
|
Go to Top |

