I have placed the three blocks associated with that module ("Map showing locations of 10 most recent visitors", "VisitorLog" and "Visitor Log light" on one page.
"Map showing locations of 10 most recent visitors"does show locations, "Visitor Log light" does show locations ... BUT "Visitor Log" does NOT show any location of any visitor at all. Instead it show this message "No IP geolocation data found. Either the core Statistics module is not enabled or there is no data in the access log. Please visit the Configuration >> IP Geolocation page for more diagnostics.".
I have checked and the Core Statistics module is enabled .... and there's plenty of data in the access logs. What could be wrong?
Comments
Comment #1
rdeboerHi Bavaria,
So the data is there, not showing in the more complex of the two views.
Weird. You're using a very recent version of the Views and Views PHP modules, I trust?
If both are installed, try setting "Use aggregation:No" in the right hand column under "Advanced, Other" in the "/visitor-log" view. Maybe that will make the somethig spring into life? (you can always revert as the view is stored in code with the module).
Rik
PS1: maps may not show in the "Preview" but will show in the normal Page and Block views.
PS2: I have just realised there was no mentioning of Views PHP on the project page. However it does mention it in the README. I have updated the project page.
Comment #2
bavarian commentedViews module (version 7.x-3.3) enabled, yes !
Views PHP not enabled ... but will now and test again (version 7.x-1.x-dev)
But still no success with these 3 blocks on one page ....
But when checking the URL-adress of that faulty view directly http://mysite.com/visitor-log then it delivers the locations sorted by country ...
Comment #3
rdeboerSome good news... I can now reproduce your problem on my development system. As you say, the Page view works but the Block View gives that error about there being no locations.
Will investigate how this regression slipped into the code and get back to you.
Comment #4
rdeboerFound it!
The View comes with a date range filter, which is exposed in Page mode only. When in Block mode the date range defaults to "from 0 to 0", which results in, well... no results.
So as an admin you need to go into the View, click Block and set the date range under the heading "Filter criteria".
That should do it.
Rik
Comment #5
rdeboerComment #6
rdeboerAdded a suitable default to this View when in Block mode.
Comment #7
rdeboerAvailable in dev snapshot now. Will be in 7.x-1.7