Guest Posted August 4, 2008 Posted August 4, 2008 Help is needed asap! I am testing my site. It appears that when my products are in the shopping cart I get a message below the continue shopping and checkout stating: Fatal error: Call to undefined method payment: checkout_initialization_method() site information shoping_cart.php on line 211. How do I correct this error? Thanks much!! Quote
Guest Posted December 24, 2008 Posted December 24, 2008 (edited) Help is needed asap! I am testing my site. It appears that when my products are in the shopping cart I get a message below the continue shopping and checkout stating: Fatal error: Call to undefined method payment: checkout_initialization_method() site information shoping_cart.php on line 211. How do I correct this error? Thanks much!! replace catalog/includes/classes/payment.php with a good backup file it will work. it this does not solve the problem, open payment.php file and check if you have following function within it, if not add it. 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; } Edited December 24, 2008 by h1bjump Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.