I’ve checked the following FAQ question, I’m getting “Sorry. No data so far”. What’s up with that?
There are a number of reasons that might explain why you are seeing this message:
no one has seen or commented on your posts/pages since WordPress Popular Posts activation, you should give it some time
Check – *I* have seen my pages by navigating to them.
your current theme does not have the wp_head() tag in its <head> section, required by my plugin to keep track of what your visitors are viewing on your site
Check – it does.
WordPress Popular Posts was unable to create the necessary DB tables to work, make sure your hosting has granted you permission to create / update / modify tables in the database.
Missing information: how many tables, and what are the table names?
If two tables are enough, then the plugin has successfully created wp_popularpostsdata and wp_popularpostsdatacache, both of which have zero rows.
It has not created wp_2_popularpostsdata or wp_2_ popularpostsdatacache for my second multisite site.
Is this plugin multisite compatible? If not, that could be the problem.
Hi Henrik,
Regarding this comment:
Is this plugin multisite compatible? If not, that could be the problem.
… there’s also an answer for that at the FAQ section:
Can WordPress Popular Posts run on WordPress Multisite?
While it’s not officially supported, users have reported that my plugin runs fine on WordPress Multisite. According to what they have said, you need to install this plugin using the Network Activation feature. Note that there are features that might not work as expected (eg. thumbnails) as I have never tested this plugin under WP Multisite.
Did you enable the plugin using the Network Activation feature? (it’s probably called a bit different, I’m not familiar with MU).
If you haven’t made it for Multisite and haven’t tried it on the subsites of the multisite installation, then it’s not a yes answer but leaning more towards no :). You can test this quite quickly.
Since I fulfill all the three requirements in the FAQ, I would say that it doesn’t work on Multisite. Because it should have some rows in the tables you created, after you click on some pages to increase their count, right?
If you tell me the exact name of a function in your plugin that should be run to increase the counts when you click a site’s pages, I can check if that code is run.
(Network Activate is not a feature, it’s just the name of the button you press in MU instead of Activate Now. It’s just the last step of the install process. In other words, you can’t install a plugin in on MU without network activating it.)
Because it should have some rows in the tables you created, after you click on some pages to increase their count, right?
Yep, that’s correct. However, other things might be interfering as well, like caching plugins for example. I guess it’s not your case since you didn’t mention it, or is it?
If you tell me the exact name of a function in your plugin that should be run to increase the counts when you click a site’s pages, I can check if that code is run.
The plugin will use one of two functions to update to the database, depending on your settings: wpp_update and wpp_ajax_update. The former one will be used if the Ajaxify feature is disabled, the latter when it’s enabled.
Network Activate is not a feature, it’s just the name of the button you press in MU instead of Activate Now. It’s just the last step of the install process. In other words, you can’t install a plugin in on MU without network activating it.
Ah, I see. Thanks for the clarification, Henrik! If you’re right then something must have changed on MU that makes WPP fully incompatible. I guess it’s time to check MU.
Henrik,
As you might have already noticed, a new version of the plugin is available. It features experimental WU support, and while I haven’t tested it on MU (to be honest), it should work without a problem.
If you decide to give WPP 3.0 a try, please post your feedback here.
I had to get the project finished, so I did it by just adding a few lines to functions.php to increase a custom field (post_meta). It was easier than I thought 🙂 And I’m sorry but I do this at work so I won’t be able to test it for you, besides, the site is already live. 🙂
Ah, I see. No problem, I was just curious anyways 🙂