WordPress.org

Support

Support » Plugins and Hacks » WordPress Popular Posts » data shouldn't went haywire

data shouldn't went haywire

Viewing 8 replies - 1 through 8 (of 8 total)
  • The subject of the post should be “data suddenly went haywire”.. 🙂

    Plugin Author Hector Cabrera

    @hcabrera

    Hi Jack,

    Plugin has not been updated for a while now so, any other changes in your blog recently? Plugins upgrades / installs? Changed themes?

    My site was subjected to Pharma Hack. So I reinstalled wordpress and my theme a few days back. Possibly due to this?

    Plugin Author Hector Cabrera

    @hcabrera

    Probably, as it seems this hack affects the wp_options table to inject the links into search engines results and may have altered a few other things in there. Did you restore this table when you reinstalled WordPress?

    I checked your site and things seem to be working alright. I need you to do something for me to make sure WPP is updating the views correctly into the database:

    1. Open wordpress-popular-posts.php using an editor such as Notepad or Adobe Dreamweaver.

    2. Find this portion of code:
    function(data){/*alert(data);*/}

    3. Change it to:
    function(data){alert(data);}

    4. Go to your site and view any post / page. You should get an alert saying something like “OK. Execution time: XXXXXXXXX”. If so, WPP is working fine and there must be an option or setting that’s different from your original configuration.

    Hi Hector,

    I just did what you suggested. Did not get any alert.

    What should I do next?

    My apologies. The alert only popped up when I used a different browser (was not logged in to my site) to visit the page.

    Any suggestions on what I should be checking next?

    Plugin Author Hector Cabrera

    @hcabrera

    Sorry, yes the alert just pops up for non-logged in users. Forgot to mention that hehe. I’m going to assume that everything went as expected since you didn’t say that the alert showed a different message than the one I posted before.

    How are you sorting your popular posts on the widget in the footer? By views, as well?

    Yes, the popup alert showed some numbers.

    I set it to sort by daily average views.

    When I click Settings -> WordPress Popular Posts (in wordpress dashboard), it shows me results (which page has highest posts etc) that are different from what I am getting on my website.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘data shouldn't went haywire’ is closed to new replies.
Skip to toolbar