2000 Posts in 532 Topics by 435 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » ecommerce module checkout button FATAL ERROR FieldSet.php
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: | 550 Views |
-
ecommerce module checkout button FATAL ERROR FieldSet.php

15 December 2009 at 8:41am
Fatal error: Call to a member function isComposite() on a non-object in /home/psmrepsc/public_html/sapphire/forms/FieldSet.php on line 178
I am getting the above error when checking out.
Here is my config:
<?php
global $project;
$project = 'mysite';global $databaseConfig;
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "localhost",
"username" => "xxxxxxxx",
"password" => "xxxxxxxxxxx",
"database" => "xxxxxxxxx",
);
// Sites running on the following servers will be
// run in development mode. See
// http://doc.silverstripe.com/doku.php?id=devmode
// for a description of what dev mode does.
Director::set_dev_servers(array(
'localhost',
'xxxxxxx',));
// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.com/themes/
SSViewer::set_theme('psm2009');// Define which payment methods your site uses.
Payment::set_supported_methods(array(
'PayPalPayment' => 'Credit card (via PayPal)',
'ChequePayment' => 'Business Check (must clear)'
));// Set the email of the admin who looks after receiving the order emails.
Order::set_email('xxxxxxxxxxx@xxxxx');
| 550 Views | ||
|
Page:
1
|
Go to Top |

