eveorgan Posted August 2, 2010 Posted August 2, 2010 Hi Everyone, I discovered today that my product reviews page is not functioning - product_reviews_write.php. Whenever a customer tries to write a review for a product, they're faced with this message: Fatal error: Call to a member function set_snapshot() on a non-object in /home/eveorgan/public_html/product_reviews_write.php on line 16 I've had a look at the file in question and it looks exactly the same as my backed-up version, so i can't figure out what's wrong. I've copied and pasted the code up to line 16, so you can see what might be causing this: <?php /* $Id: product_reviews_write.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'); if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } Any ideas? :( xx Quote
eveorgan Posted August 2, 2010 Author Posted August 2, 2010 Okay I just got the same message when I tried to go to the 'Checkout' page! checkout_shipping.php This is now becoming urgent :( :( I think i might know what the problem is - I just enabled security pro. Could this be the issue? Does anyone have any idea how to tackle this? :( Thanks so much everyone. x 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.