I have been using Supertracker for a long time. I just tried to access my site and getting this error:
Fatal error: supertracker::update() [<a href='supertracker.update'>supertracker.update</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "shoppingCart" of the object you are trying to operate on was loaded before unserialize() gets called or provide a __autoload() function to load the class definition in /home/xxxx/public_html/includes/classes/supertracker.php on line 99
I changed code in includes/classes/supertracker to one listed as:
$db->Execute("UPDATE " . TABLE_SUPERTRACKER . "
SET last_click = NOW(),
exit_page='" . zen_db_input(zen_db_prepare_input(urldecode($_SERVER['REQUEST_URI']))) . "',
exit_page_name='" . $page_title . "',
num_clicks=num_clicks+1,
added_cart='" . zen_db_input($tracking_data->fields['added_cart']) . "',
categories_viewed='" . zen_db_input($categories_viewed) . "',
products_viewed='" . zen_db_input($tracking_data->fields['products_viewed']) . "',
customer_id='" . (int)$customer_id . "',
completed_purchase='" . zen_db_input($completed_purchase) . "',
cart_contents='" . zen_db_input($cart_contents) . "',
cart_total = '" . zen_db_input($cart_total) . "',
order_id = '" . (int)$order_id . "'
WHERE tracking_id='" . (int)$tracking_data->fields['tracking_id'] . "'");[HTML]
```\[/HTML]
And did refresh with it still not working. I can not get to store to empty shopping cart.:frusty::frusty: Help!
kburner
Burner Christian Bookstore
https://www.burnerbooks.com