Thread: Supertracker

Page 32 of 33 FirstFirst ... 2230313233 LastLast
Results 311 to 320 of 324
  1. #311
    Join Date
    Nov 2007
    Location
    Upstate NY
    Posts
    232
    Plugin Contributions
    0

    Default Re: Supertracker

    So I've installed Supertracker 1.1 on ZC 1.5.1. It worked fine for about a week then I got blank front end (admin is fine). I uninstalled Supertracker and it's good.

    The debug logs give this error:

    PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /home/ . . . /public_html/ . . . /includes/geoip.inc on line 351
    I installed and uninstalled a few times and same result. I have this mod running on 1.3.9h with no problems. It was also OK on this version for about a week.

    We've had some strange php errors the last month or so. Little things that I've fixed one at a time. I believe there's some creeping php/mysql upgrade in the works that is running into bad/old/depreciated code.

    This issue has happened in the past with this exact error in this file. I've found posts and solutions for this thing from every year for the last 4 years.

    This one - adding !if statements in the geoip.inc file - worked for me. the code is around line 340 in geoip.inc.

    Fair warning: after I made the code changes and re-uploaded the whole package my front and backend dragged for about 5 mins. Seemed frozen. I waited and refreshed and everything's fine. Supertracker even works

    Fatal error: Cannot redeclare geoip_country_code_by_name()

    The solution is very simple. in your geoip.inc file, look for this code

    function geoip_country_code_by_name($gi, $name) {
    ...
    }

    function geoip_country_name_by_name($gi, $name) {
    ...
    }

    and replace with

    if (!function_exists('geoip_country_code_by_name')) {
    function geoip_country_code_by_name($gi, $name) {
    ...
    }
    }

    if (!function_exists('geoip_country_name_by_name')) {
    function geoip_country_name_by_name($gi, $name) {
    ...
    }
    }

    -------------------------------------------------------
    Here are some other solutions I found in case that fix doesn't work for you. I HAVE NOT TRIED THESE

    From 2011: this fix from razvantudorica.com/03/cannot-redeclare-geoip_country_code_by_name/. This one is from the same post as the code fix I used: it's an alternative that is supposed to do the same thing.

    Cannot redeclare geoip_country_code_by_name
    Fatal error: Cannot redeclare geoip_country_code_by_name()

    The reason was that I have geoip extension enabled in my PHP configuration and also I used the geoip.inc file from maxmind.com.

    The solution is very simple. Actually, there are two solutions:

    First is to disable the geoip extension from your configuration. In /etc/php5/apache2/conf.d/geoip.ini comment the first line:

    ;extension=geoip.so

    . . . . second solution is the code fix above.
    One person on max_mind says this but I don't know what he's talking about: I don't have that in my php.ini
    the reason is that you use the php code _and_ the php extension. Remove the geoip extension from your php.ini to fix the namespace clash.
    ( both use the same function name geoip_country_code_by_name )
    From a 2010 posting on 4homepages.de/forum/index.php?topic=28684.0
    Problem solved. It`s depend on hosting changes...
    For resolve this problem, uncomment this path in you geoip.inc
    function geoip_country_code_by_name($gi, $name) {
    $country_id = geoip_country_id_by_name($gi,$name);
    if ($country_id !== false) {
    return $gi->GEOIP_COUNTRY_CODES[$country_id];
    }
    return false;
    }

    function geoip_country_name_by_name($gi, $name) {
    $country_id = geoip_country_id_by_name($gi,$name);
    if ($country_id !== false) {
    return $gi->GEOIP_COUNTRY_NAMES[$country_id];
    }
    return false;
    Last edited by Tapper; 16 May 2013 at 05:59 PM.

  2. #312
    Join Date
    Aug 2007
    Posts
    277
    Plugin Contributions
    0

    Default Re: Supertracker

    zc 1.5.1
    SUPER TRACKER V1.1
    multisite V1.0

    I have installed ths mod on zc1.5.1

    I noticed 2 thing not lading correctly:

    1. "The Top Landing Pages (No Sale)" is not displaing correctly. Instead of display "Top Landing Pages (No Sale)", it displays TEXT_LANDING_PAGE.
    Also. the gray bar heading under the heading displays " Serail TEXT_LANIDING_PAGE" instead of the correct heading as well.

    What is wrong here? How Do I fix this?

    2. "The Top Landing Pages (No Sale, bit added to cart)" does not display anything at all.
    Again, what is wrong here and how do I fix it?

    Does anyone else encounter this problem?

    Any Help is greatly appreciated.

  3. #313
    Join Date
    Aug 2007
    Posts
    277
    Plugin Contributions
    0

    Default Re: Supertracker

    Quote Originally Posted by twi View Post
    zc 1.5.1
    SUPER TRACKER V1.1
    multisite V1.0

    I have installed ths mod on zc1.5.1

    I noticed 2 thing not lading correctly:

    1. "The Top Landing Pages (No Sale)" is not displaing correctly. Instead of display "Top Landing Pages (No Sale)", it displays TEXT_LANDING_PAGE.
    Also. the gray bar heading under the heading displays " Serail TEXT_LANIDING_PAGE" instead of the correct heading as well.

    What is wrong here? How Do I fix this?

    2. "The Top Landing Pages (No Sale, bit added to cart)" does not display anything at all.
    Again, what is wrong here and how do I fix it?

    Does anyone else encounter this problem?

    Any Help is greatly appreciated.
    I found the solution in this thread on post #210 and #211 in case anyone encounter the same problem.

  4. #314
    Join Date
    Apr 2006
    Location
    Largo, Florida USA
    Posts
    102
    Plugin Contributions
    0

    Default Re: Supertracker

    MOBILE SITE ERROR - I tried uploading the tracker code to my mobile template and get the following error, any ideas on how to add to a mobile site?
    Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address in /home/public_html/ADMINXXX/supertracker.php on line 602

  5. #315
    Join Date
    Apr 2013
    Location
    north carolina
    Posts
    110
    Plugin Contributions
    0

    Default Re: Supertracker

    Hi,

    Most of the time SuperTracker returns valid data with IP addresses, countries, etc., but I've also been finding error log files with this error on my regular store site (using ZC 1.5.1 and SuperTracker 1.1, Apache server with 5.4 PHP):

    PHP Warning: gethostbyaddr() [<a href='function.gethostbyaddr'>function.gethostbyaddr</a>]: Address is not a valid IPv4 or IPv6 address in /.../MYADMINFOLDER/supertracker.php on line 602

    Line 602 in that file is:
    Code:
    echo '<tr><td class="dataTableContent"><b>' . TABLE_TEXT_IP . '</b> <a href="http://whatismyipaddress.com/ip/' . $lt_row->fields['ip_address'] . '" target="_blank">' . $lt_row->fields['ip_address'] . '</a>' . ' (' . gethostbyaddr($lt_row->fields['ip_address']) . ') ' . zen_image(DIR_WS_IMAGES . 'flags/' . $lt_row->fields['country_code'] . '.gif') . ' ' . $lt_row->fields['countries_name'] . '</td></tr>';
    In SuperTracker's onscreen report (and in the database), instead of the correct ###.###.###.### (server.info) Country display, the corresponding records return IP/country info like this:
    Customer IP Address/Country: ############### ()
    Often multiple visits have the same 14- or 15-digit number and happen within seconds of each other. 100% of these "visits" last 0 seconds and bounce (same entry and exit page during a given "visit" but different pages for different "visits"). These bogus visits constituted about 8.5% of all of my site's visits in the last 4 weeks.

    Is this a reason for concern or just a mere annoyance, and how would I go about stopping this? Or is this a question for another part of this Forum?

    Thank you!
    Magz

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

    Default Re: Supertracker

    Hi,
    Quote Originally Posted by magz View Post
    the corresponding records return IP/country info like this:
    Customer IP Address/Country: ############### ()
    You can publish some of these ip addresses? Or send a PM. Safer if you would send screenshots.

    P.S. Can you explain why do you use supertracker? Google Analitycs or Universal Analytics does not suit you?

  7. #317
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Supertracker

    Quote Originally Posted by a_berezin View Post

    P.S. Can you explain why do you use supertracker? Google Analitycs or Universal Analytics does not suit you?
    Please excuse me butting in Andrew. I personally use ST because it gives me the data in my admin console, all under one roof as it were.
    You did mention a while back that you had a more recent version of ST than the one in the download area. If that's the case would you please be able to share or better still upload the latest for all to use please Andrew?
    Thank you in advance.

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

    Default Re: Supertracker

    Quote Originally Posted by picandnix View Post
    I personally use ST because it gives me the data in my admin console, all under one roof as it were.
    But the data collected ST steel incomplete, since Google start hiding the user search queries from the HTTP referrer field.

    Quote Originally Posted by picandnix View Post
    You did mention a while back that you had a more recent version of ST than the one in the download area. If that's the case would you please be able to share or better still upload the latest for all to use please Andrew?
    It's been so long... long time I don't use ST. I'll try to search the latest version.

  9. #319
    Join Date
    Apr 2013
    Location
    north carolina
    Posts
    110
    Plugin Contributions
    0

    Default Re: Supertracker

    Hi Andrei - There are things ST does that GA/UA doesn't do and vice versa. I use both, they complement each other.

    Here are a couple sample numbers from my mysterious visits:

    260113003435668 () - 12 visits to 5 different pages within one category (3 products and 2 cat/subcat pages), first 11 visits within a 4-and-a-half minute period, the 12th about an hour later; none of the links had ?zenid=... parameter as part of the url

    260131100251939 () - 26 visits, all within a 6-and-a-half minute period, to a whole bunch of different pages (mostly within catalog, but not exclusively); first link has no ?zenid= parameter, the other 25 all have an identical session id

    Most other visits are multiples like these, although there are some single visits, as well. Some have seesion IDs, some don't, all have the same entry and exit time and page. There are also some that have different "IP" numbers (eg, 260197380258148 and 260197380258414) but the same session ID (ab. 2 minutes between these particular 2 visits, both to the same page).

    Any idea what all this could mean?

    Thank you!
    Magz

    Quote Originally Posted by a_berezin View Post
    Hi,
    You can publish some of these ip addresses? Or send a PM. Safer if you would send screenshots.
    P.S. Can you explain why do you use supertracker? Google Analitycs or Universal Analytics does not suit you?

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

    Default Re: Supertracker

    Hi Magz,
    Quote Originally Posted by magz View Post
    260113003435668 () - 12 visits to 5 different pages within one category (3 products and 2 cat/subcat pages), first 11 visits within a 4-and-a-half minute period, the 12th about an hour later; none of the links had ?zenid=... parameter as part of the url

    260131100251939 () - 26 visits, all within a 6-and-a-half minute period, to a whole bunch of different pages (mostly within catalog, but not exclusively); first link has no ?zenid= parameter, the other 25 all have an identical session id
    Can You see the access logs for that date and time? What IP address?

    Quote Originally Posted by magz View Post
    Any idea what all this could mean?
    I think that the situation is very strange and needs debugging and analysis.

 

 
Page 32 of 33 FirstFirst ... 2230313233 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