Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Checkout Issue


1 reply to this topic

#1 Shannonw

  • Community Member
  • 9 posts
  • Real Name:Shannon Wyman

Posted 19 November 2009, 01:41

When customers try to check out of the store, they are getting the following message...

Parse error: parse error, unexpected T_VAR, expecting '{' in /home/content/a/r/t/artfreckles/html/store/catalog/includes/modules/shipping/table.php on line 14

So when I go into that file, this is what it looks like...

{ class table
var $code, $title, $description, $icon, $enabled;

// class constructor
function table() {
global $order;

$this->code = 'table';
$this->title = MODULE_SHIPPING_TABLE_TEXT_TITLE;
$this->description = MODULE_SHIPPING_TABLE_TEXT_DESCRIPTION;
$this->sort_order = MODULE_SHIPPING_TABLE_SORT_ORDER;
$this->icon = '';
$this->tax_class = MODULE_SHIPPING_TABLE_TAX_CLASS;
$this->enabled = ((MODULE_SHIPPING_TABLE_STATUS == 'True') ? true : false);

What is it that I need to change?? I recently installed the Discount Coupons module, could this have caused the problem?? Any help would be greatly appreciated.

#2 Shannonw

  • Community Member
  • 9 posts
  • Real Name:Shannon Wyman

Posted 19 November 2009, 13:59

Resolved, thanks.