Thread: Supertracker

Page 6 of 33 FirstFirst ... 4567816 ... LastLast
Results 51 to 60 of 324
  1. #51
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Supertracker

    Maybe give more information? I have not been able to reproduce the error.

  2. #52
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Supertracker

    Quote Originally Posted by a_berezin View Post
    Maybe give more information? I have not been able to reproduce the error.
    Here is the error message:

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Pretend PlayBrix - Set of 54&search_in_description=1&categories_id=2274&inc_su' at line 1
    in:
    [UPDATE supertracker SET last_click = NOW(), exit_page='/search/results.html?keyword=Let's Pretend PlayBrix - Set of 54&search_in_description=1&categories_id=2274&inc_subcat=1&manufacturers_id=&pfr om=&pto=&dfrom=&dto=&x=33&y=8', exit_page_name='Search Results', num_clicks=num_clicks+1, added_cart='false', categories_viewed='a:7:{i:388;i:1;i:392;i:1;i:238;i:1;i:889;i:1;i:890;i:1;i:891; i:1;i:892;i:1;}', products_viewed='*13466?', customer_id='0', completed_purchase='false', cart_contents='', cart_total = '0', order_id = '0' WHERE tracking_id='3957']

    This error happens everything a product includes ' in the name. Change one of your product name to some like Andrew's Mod and then search for Andrew's Mod on the Advanced Search window. It should generate this error.

    Thanks!

  3. #53
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Supertracker

    I you use module from dl-area replace
    Code:
    $db->Execute("UPDATE " . TABLE_SUPERTRACKER . " SET last_click = NOW(), exit_page='" . zen_db_prepare_input(urldecode($_SERVER['REQUEST_URI'])) . "', exit_page_name='" . $page_title . "', num_clicks=num_clicks+1, added_cart='" . $tracking_data->fields['added_cart'] . "', categories_viewed='" . $categories_viewed . "', products_viewed='" . $tracking_data->fields['products_viewed'] . "', customer_id='" . $customer_id . "', completed_purchase='" . $completed_purchase . "', cart_contents='" . $cart_contents . "', cart_total = '" . $cart_total . "', order_id = '" . $order_id . "' WHERE tracking_id='" . $tracking_data->fields['tracking_id'] . "'");
    by

    Code:
    $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='" . $tracking_data->fields['added_cart'] . "', categories_viewed='" . $categories_viewed . "', products_viewed='" . $tracking_data->fields['products_viewed'] . "', customer_id='" . $customer_id . "', completed_purchase='" . $completed_purchase . "', cart_contents='" . $cart_contents . "', cart_total = '" . $cart_total . "', order_id = '" . $order_id . "' WHERE tracking_id='" . $tracking_data->fields['tracking_id'] . "'");
    P.S. Why you talk about ' in products name? Error when ' in uri.

  4. #54
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Supertracker

    Quote Originally Posted by a_berezin View Post
    I you use module from dl-area replace
    Code:
    $db->Execute("UPDATE " . TABLE_SUPERTRACKER . " SET last_click = NOW(), exit_page='" . zen_db_prepare_input(urldecode($_SERVER['REQUEST_URI'])) . "', exit_page_name='" . $page_title . "', num_clicks=num_clicks+1, added_cart='" . $tracking_data->fields['added_cart'] . "', categories_viewed='" . $categories_viewed . "', products_viewed='" . $tracking_data->fields['products_viewed'] . "', customer_id='" . $customer_id . "', completed_purchase='" . $completed_purchase . "', cart_contents='" . $cart_contents . "', cart_total = '" . $cart_total . "', order_id = '" . $order_id . "' WHERE tracking_id='" . $tracking_data->fields['tracking_id'] . "'");
    by

    Code:
    $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='" . $tracking_data->fields['added_cart'] . "', categories_viewed='" . $categories_viewed . "', products_viewed='" . $tracking_data->fields['products_viewed'] . "', customer_id='" . $customer_id . "', completed_purchase='" . $completed_purchase . "', cart_contents='" . $cart_contents . "', cart_total = '" . $cart_total . "', order_id = '" . $order_id . "' WHERE tracking_id='" . $tracking_data->fields['tracking_id'] . "'");
    P.S. Why you talk about ' in products name? Error when ' in uri.
    Thanks Andrew for the fix, where do I apply the change you proposed? In a file or is this and sql update? I am not sure I understand where I should make the change.

    The only reason I referenced the product is because the error only happens when I have a product name that includes '

    Also, is there another place to download this since it sounded like the one in the download area may not be the most updated version?

    Thanks!

  5. #55
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Supertracker

    Quote Originally Posted by BlessIsaacola View Post
    where do I apply the change you proposed?
    /includes/classes/supertracker.php

    Quote Originally Posted by BlessIsaacola View Post
    The only reason I referenced the product is because the error only happens when I have a product name that includes '
    The error only happens when you enter ' in url (for ex in search box/page).

  6. #56
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Supertracker

    Quote Originally Posted by a_berezin View Post
    /includes/classes/supertracker.php


    The error only happens when you enter ' in url (for ex in search box/page).

    Thank you very much! The problem is fixed.

    Any idea why visitor country stats is not working? I have the geoip.data uploaded to the includes/ folder. I am assuming that's the right location or is it myadminfolder/includes?

    Thanks!

  7. #57
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Supertracker

    Check name and case - /includes/GeoIP.dat

  8. #58
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Supertracker

    Quote Originally Posted by a_berezin View Post
    Check name and case - /includes/GeoIP.dat
    Thanks Andrew! That was the problem. I downloaded and updated geopip and the case wasn't right. Now everything works! Awesome!

  9. #59
    Join Date
    Jan 2007
    Posts
    92
    Plugin Contributions
    2

    Default Re: Supertracker

    Great mod but it seems to record any hits from the UK United Kingdom 6 times.
    It reports them coming from United Kingdom and then it reports the same hit as.
    Northern Ireland
    Scotland
    Wales
    England
    and Isle Of Man

  10. #60
    Join Date
    Nov 2007
    Posts
    1
    Plugin Contributions
    0

    bug Re: Supertracker

    Hello,

    I've just installed supertracker and...
    For some hours it collected 0 records and after that I've discovered that my site works only if opened from clients from the exclude list.

    Any other clients do not open the site at all :-( They are waiting and waiting and waiting...

    I've disabled the mod by changing the name of jscript_supertracker.php file to jscript_supertracker.php.bak.

    Any ideas?

 

 
Page 6 of 33 FirstFirst ... 4567816 ... LastLast

Similar Threads

  1. Supertracker
    By enquirer66 in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 2 Mar 2011, 08:37 PM
  2. SuperTracker
    By ma.r.a in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 11 Feb 2011, 08:19 PM
  3. Supertracker referrals?
    By mlbacher in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 24 Aug 2009, 07:53 PM
  4. supertracker mod
    By confused_aswell in forum General Questions
    Replies: 2
    Last Post: 1 Aug 2008, 12:55 PM
  5. Supertracker Add-on
    By bcmartinez in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 19 May 2006, 01:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR