Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Contributor Greg Ross

    (@gregross)

    You can search the forum with the “Search www.ads-software.com” field at the top, it searches the forums as well.

    As for your issue are just browser stats are empty? Do you see other stats recorded?

    Thread Starter captn-hirni

    (@captn-hirni)

    Thanks. It’s just the browser stats. All other works fine. The window/tab for browser with many other statistic boxes (e.g. Apache Version, Chrome Version, etc.) is complete empty.

    Plugin Contributor Greg Ross

    (@gregross)

    Can you check your wp_statitistics_vistor table and see what’s in the agent, platform and version columns?

    Thread Starter captn-hirni

    (@captn-hirni)

    Full of data: Windows, Firefox, 34.0, hits – and so on. It seems, the data exists but won’t show in the interface.

    Plugin Contributor Greg Ross

    (@gregross)

    Can you run the following SQL statements and see if there is anything weird in the data?

    select distinct agent from wp_statistics_visitor
    select distinct platform from wp_statistics_visitor
    select distinct version from wp_statistics_visitor
    Thread Starter captn-hirni

    (@captn-hirni)

    Works. Returns content on every statement. I’ve no great experience with SQL. But could it be that my table are named a litte bit differently? All tables have a prefix with: wp_kuchenMachtGluecklich_. So the specific table name is: wp_kuchenMachtGluecklich_statistics_visitor

    Plugin Contributor Greg Ross

    (@gregross)

    No, that should be fine, I was looking to see if perhaps there was some corrupt data causing a problem when it loaded.

    If you go to the browsers page and view the page source (ctrl-u) is there a “Fatal Error:” listed near the bottom?

    Thread Starter captn-hirni

    (@captn-hirni)

    No error found. The console got this:

    TypeError: undefined is not an object (evaluating ‘browser_chart.replot’)
    (anonyme Funktion)admin.php:420
    dispatchload-scripts.php:3:8554
    handleload-scripts.php:3:5257

    Plugin Contributor Greg Ross

    (@gregross)

    Can you dump the page source and send it to me via the contact form on wp-statistics.com?

    The type error is what’s causing the graphs not to draw, but I’m not sure why it’s happening.

    Plugin Contributor Greg Ross

    (@gregross)

    It looks like you have a conflict with another script on the page, can you try disabling your other plugins and see if it works?

    Thread Starter captn-hirni

    (@captn-hirni)

    No, it doesn’t. All plugins disabled. Same problem.

    Plugin Contributor Greg Ross

    (@gregross)

    I did notice in the dump that your theme is including some javascript in the admin page as well, would it be possible to change to the default theme and give it a try?

    Thread Starter captn-hirni

    (@captn-hirni)

    I’ve something found. For the custom backend setting, I use font options. This script is the problem. It is short, so I can post ist here.

    Thank you for watching.

    ###########################
    // Wrapper for non conflict mode
    jQuery(document).ready(function($) {

    var farbtastic;
    (function($){
    var pickColor = function(a) {
    farbtastic.setColor(a);
    $(‘#custom_color’).val(a);
    $(‘#custom_color-example’).css(‘background-color’, a);
    };

    $(document).ready( function() {
    farbtastic = $.farbtastic(‘#colorPickerDiv’, pickColor);

    pickColor( $(‘#custom_color’).val() );

    $(‘.pickcolor’).click( function(e) {
    $(‘#colorPickerDiv’).show();
    e.preventDefault();
    });

    $(‘#custom_color’).keyup( function() {
    var a = $(‘#custom_color’).val(),
    b = a;

    a = a.replace(/[^a-fA-F0-9]/, ”);
    if ( ‘#’ + a !== b )
    $(‘#custom_color’).val(a);
    if ( a.length === 3 || a.length === 6 )
    pickColor( ‘#’ + a );
    });

    $(document).mousedown( function() {
    $(‘#colorPickerDiv’).hide();
    });
    });
    })(jQuery);

    }); // End Wrapper

    Plugin Contributor Greg Ross

    (@gregross)

    Is this something you’ve done custom yourself?

    The code looks ok, but I’m assuming it’s farbtastic that’s got the conflict…

    Is it required on the WP Statistics page? If not can you limit loading it to only pages it’s required on?

    Thread Starter captn-hirni

    (@captn-hirni)

    Thanks for watching. It’s custom. It’s only required for the backend settings and I have no idea how I can limit it loading. The only idea I have is to renew the farbtastic/font-options feature and hoping that it works together with WP Statistics.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Browser Statistic empty’ is closed to new replies.