regostein Posted July 30, 2008 Posted July 30, 2008 I added PayPal and USPS add-ins and now the links to the checkout box don't work. When I click on "Checkout" the message I get is Fatal error: Call to a member function set_snapshot() on a non-object in /home/nwcexcom/public_html/shop/checkout_shipping.php on line 18 When I click on "Pay with Paypal" I get Fatal error: Call to a member function set_snapshot() on a non-object in /home/nwcexcom/public_html/shop/ext/modules/payment/paypal/express.php on line 23 Seems these are related. Here is the Checkout code. I haven't altered anything, but don't know why this changed. <?php /* $Id: checkout_shipping.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require('includes/classes/http_client.php'); // if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); }
regostein Posted July 31, 2008 Author Posted July 31, 2008 I found this page that seems to have worked for most of my error messages. http://www.oscommerce.com/forums/index.php?sho...p;#entry1264869 This helped with the checkout_shipping.php issues. It doesn't help with the ext/modules/payment/paypal/express.php issues. Any ideas?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.