Browser Statistic empty
-
Hello.
[I’ve nothing found about my problem in the forum. By the way: I cannot search there? Right?]
My problem: All statistic fields of browser-stats are completely empty. This issue appears in the dashboard an in the browser-tab. What can I do to show browser stats?
Thank you, C.H.
-
You can search the forum with the “Search WordPress.org” 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?
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.
Can you check your wp_statitistics_vistor table and see what’s in the agent, platform and version columns?
Full of data: Windows, Firefox, 34.0, hits – and so on. It seems, the data exists but won’t show in the interface.
Can you run the following SQL statements and see if there is anything weird in the data?
select distinct agent from wp_statistics_visitorselect distinct platform from wp_statistics_visitorselect distinct version from wp_statistics_visitorWorks. 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
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?
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:5257Can 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.
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?
No, it doesn’t. All plugins disabled. Same problem.
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?
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
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?
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.
The topic ‘Browser Statistic empty’ is closed to new replies.