thelicks Posted August 17, 2010 Posted August 17, 2010 Howdy, Having a problem with this fatal error when attempting to checkout...... Fatal error: Call to undefined method payment::checkout_initialization_method() in /home/midnigh3/public_html/shopping_cart.php on line 284 The code on the line 284 is: <?php $initialize_checkout_methods = $payment_modules->checkout_initialization_method(); if (!empty($initialize_checkout_methods)) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td align="right" class="main" style="padding-right: 50px;"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></td> </tr> I don't know what happened or what I may have done to cause this issue, but can anyone clue me in on what to change. Thanks
web-project Posted August 17, 2010 Posted August 17, 2010 Call to undefined method payment::checkout_initialization_method() in /home/midnigh3/public_html/shopping_cart.php on line 284 as it stated the system undefined method payment::checkout_initialization_method(). Could you check the line 13 to 19 it should be the following code: require("includes/application_top.php"); if ($cart->count_contents() > 0) { include(DIR_WS_CLASSES . 'payment.php'); $payment_modules = new payment; } anything missing? Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
thelicks Posted August 17, 2010 Author Posted August 17, 2010 Thanks for the response.... line 13-19 is the same as you posted. Does not appear that anything is missing there.
thelicks Posted August 17, 2010 Author Posted August 17, 2010 Just in case it might help to see the error in action, the url is www.midnightimpressions-pomonashirts.com
Recommended Posts
Archived
This topic is now archived and is closed to further replies.