WP OnlineCounter not counting total number of visitors (4 posts)

  1. Daisyhead
    Posted 9 years ago #

    I just implemented the WP Online Counter script and everything appears to working fine with it, other than it's not keeping count of the total number of vistors to my site. I'm not sure why it's not doing this.

    I had to create the table myself since the plugin didn't do that (it's supposed to) and I used the following code to create the table:

    CREATE TABLE wp_online counter (
    timestamp int(15) NOT NULL default '0',
    ip varchar(15) NOT NULL default '',
    count int(15) NOT NULL default '0',
    maxon int(6) NOT NULL default '0',
    maxontime int(15) NOT NULL default '0',
    uri text NOT NULL default '',
    PRIMARY KEY (timestamp, ip)

    Everything appears to be okay with the table as everything else the plugin is supposed to do, appears to be working. I was just curious if anyone might have any ideas for me.


  2. Daisyhead
    Posted 9 years ago #

    Anyone have any ideas on this?

  3. Daisyhead
    Posted 9 years ago #

    I've tried contacting the creator of the plugin but he has no idea why the total number of visitors isn't working. Has anyone else had any problems with this not working??

  4. anschitech
    Posted 9 years ago #

    One problem with this plugin is, that there are two lines where the database is not addressed correctly. Instead of "$wpdb->wp_onlinecounter" there are two places where is only "wp_onlinecounter" referenced. Thats why the admin panel of this plugin did not work on my side.
    As for the not counting: I see the same problem on my site, but did not find a solution yet.

Topic Closed

This topic has been closed to new replies.

About this Topic