Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SPPC contribution Error


Guest

Recommended Posts

Posted

I have installed Sppc 4.1.6 version on oscommerce-2.2rc2a, went through some minor problems during the installation and got to success in to end.

however, when i try to add product to shopping cart, it appear

 

Fatal error: Call to undefined function: checkout_initialization_method() in /home/vantage2/public_html/cms/shopping_cart.php on line 210

 

I read some forums suggest to add in the function: checkout_initialization_method() to ... includes/classes/payment.php, added

 

function checkout_initialization_method() {

$initialize_array = array();

 

if (is_array($this->modules)) {

reset($this->modules);

while (list(, $value) = each($this->modules)) {

$class = substr($value, 0, strrpos($value, '.'));

if ($GLOBALS[$class]->enabled && method_exists($GLOBALS[$class], 'checkout_initialization_method')) {

$initialize_array[] = $GLOBALS[$class]->checkout_initialization_method();

}

}

}

 

return $initialize_array;

}

 

but still face the same problem.

 

Could someone please help for my site?

 

http://www.vantage2u.com.my/cms/shopping_cart.php

 

Please !!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...