WordPress.org

Ready to get started?Download WordPress

Forums

Adding the Online Counter Hacked failed (6 posts)

  1. Brain916
    Member
    Posted 8 years ago #

    at http:www.airjordanhistory.com I went into ftp added in the online counter by Jan Grewe from http://faked.org/blog/

    I also added the PHP code in the sidebar, but what comes up is this:

    WordPress database error: [Table 'airjord_wrdp1.wp_onlinecounter' doesn't exist]
    SELECT count FROM wp_onlinecounter ORDER BY count DESC LIMIT 1

    WordPress database error: [Table 'airjord_wrdp1.wp_onlinecounter' doesn't exist]
    SELECT timestamp FROM wp_onlinecounter WHERE ip = '67.172.174.120' ORDER BY timestamp DESC LIMIT 1

    WordPress database error: [Table 'airjord_wrdp1.wp_onlinecounter' doesn't exist]
    SELECT maxon FROM wp_onlinecounter ORDER BY maxon DESC LIMIT 1

    WordPress database error: [Table 'airjord_wrdp1.wp_onlinecounter' doesn't exist]
    SELECT maxontime FROM wp_onlinecounter ORDER BY maxon DESC LIMIT 1

    WordPress database error: [Table 'airjord_wrdp1.wp_onlinecounter' doesn't exist]
    INSERT INTO wp_onlinecounter VALUES ('1152605972', '67.172.174.120', '', '0', '0', '/')

    WordPress database error: [Table 'airjord_wrdp1.wp_onlinecounter' doesn't exist]
    DELETE FROM wp_onlinecounter WHERE timestamp < 1152605972

    WordPress database error: [Table 'airjord_wrdp1.wp_onlinecounter' doesn't exist]
    SELECT DISTINCT ip FROM wp_onlinecounter

    WordPress database error: [Table 'airjord_wrdp1.wp_onlinecounter' doesn't exist]
    UPDATE wp_onlinecounter SET maxon='', maxontime='' WHERE timestamp='1152605972'

    What am I doing wrong?

  2. yosemite
    Member
    Posted 8 years ago #

    Go here:
    http://faked.org/blog/wp-onlinecounter/

    Read the comment thread. Focus on the db/table errors and issues raised there.

    If you can't find your solution there, I recommend you get a different plugin.

  3. Brain916
    Member
    Posted 8 years ago #

    well the last time someone responded was a month ago, and he was asking a question, so no help their

  4. Brain916
    Member
    Posted 8 years ago #

    Please, I need HELP!

  5. Brain916
    Member
    Posted 8 years ago #

    Thanks once again for no help

  6. Daisyhead
    Member
    Posted 7 years ago #

    I hate it when no one answers my plea for help so I thought I'd give this a try as I just had the same issue on my blog.

    Did you create the table manually (within PHPMyAdmin?) or did the plugin create it? Activating the plugin is supposed to create a table in your WP database but it didn't work for me. I had to go in an manually create it with PHPMyAdmin.

    After creating the table "onlinecounter" I was getting errors similiar to yours. It turns out that the table was supposed to be named wp_onlinecounter. So once I got rid of the table "onlinecounter" table and created the "wp_onlinecounter" table, the plugin worked.

    Of course, I can't get it to show the total number of visitors to my blog but everything else appears to be working.

    Hopefully this will help you and I hope it's not too late!

Topic Closed

This topic has been closed to new replies.

About this Topic