Real-time map

Hi,

in the real-time map secion, this is no data being shown, olny a message that says: their is no data for this report

i have geoIP pecl installed, what else should i do?

thanks

do you see “cities” reported in the Location report ?

[quote=matt]
do you see “cities” reported in the Location report ?[/quote]

no, just a gary-scaled map, with the time, please see image file for example, but if you mean the data from Locations & Provider tab then yes, that map and data is fine.

but im questioning the real-time map tab

I mean in Visitors>Location report. do you see cities there? if so, then the real time map should work. If you don’t see cities in the report, there’s a problem with the geo location: Geo Locate your visitors - Analytics Platform - Matomo

edited my last post.

I see the cities, but I don|t see the real-time map data. (see attachments)

Btw I have a 2Bytes mask in the “Anonymize Visitors’ IP addresses” settings and the default location provider.

Try disable the anonymizer for a few days and see if it works again ?

I have never used anonymizer, so for me that is not the issue of the problem.

in Visitors>Location report. do you see cities there?

Same issue. I guess it its geolocation related as I get the visits for countries but not for cities

FIXED:

i added ‘geoip.custom_directory’ PHP ini option is set to ‘/path to stats/piwik/misc’.
than downloaded and added GeoLiteCity.dat in the misc folder,
Note PECL geoIP did not work, i had to use PHP geoip, than i followed this: http://piwik.org/faq/how-to/#faq_167

now it is installed and up to date.

Edit: Ok, did not see the previous message (not my day…) sorry for that.

I’m also having this issue. If I check the developer toolbar I can see there’ ajax calls with a json response on it:

http://i.minus.com/ibjBjCohM6o2im.png

It also seems to be a GeoIP related issue because I can’t see any region under the location tab.

I’m using the GeoIP (PECL) provider.

I can’t understand why… but now everything works well using the PECL module… :\

Maybe it was a cookie related issue… since visits were saved previously with it’s GeoIP information piwik wasn’t trying to get that info again.

When I removed my cookies piwik considered my visit as a new visit and then it displayed my city and region successfully.

Update:

I managed to get it working with the PECL GeoIP setting,

but i now have this error message in Visitors>Location report:

There is an error. Please report the message (Piwik 1.11) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Undefined offset: 2 in /var/www/vhosts/xxxx/domain.com/httpdocs/pwik/plugins/UserCountry/functions.php on line 160

Backtrace -->

#0 Piwik_ErrorHandler(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/plugins/UserCountry/functions.php:160]
#1 Piwik_UserCountry_getPrettyCityName(…) called at [:]
#2 call_user_func_array(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/DataTable/Filter/ColumnCallbackReplace.php:78]
#3 Piwik_DataTable_Filter_ColumnCallbackReplace->filter(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/DataTable.php:387]
#4 Piwik_DataTable->filter(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/plugins/UserCountry/API.php:154]
#5 Piwik_UserCountry_API->getCity(…) called at [:]
#6 call_user_func_array(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/API/Proxy.php:189]
#7 Piwik_API_Proxy->call(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/API/Request.php:127]
#8 Piwik_API_Request->process(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/ViewDataTable.php:431]
#9 Piwik_ViewDataTable->loadDataTableFromAPI(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/ViewDataTable/HtmlTable.php:80]
#10 Piwik_ViewDataTable_HtmlTable->main(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/plugins/UserCountry/Controller.php:440]
#11 Piwik_UserCountry_Controller->checkIfNoDataForGeoIpReport(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/plugins/UserCountry/Controller.php:385]
#12 Piwik_UserCountry_Controller->getCity(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/plugins/UserCountry/Controller.php:28]
#13 Piwik_UserCountry_Controller->index(…) called at [:]
#14 call_user_func_array(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/FrontController.php:136]
#15 Piwik_FrontController->dispatch(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/stats/index.php:52]

please advise

Hi,

additional info: For all IIS users, you need to add a new Mime-type for .svg to the configuration. Otherwise all this files responses with 404.3 error.

SVG Mimetype is: image/svg+xml

If this happens to you there is completely no map visible.

rgds.
Michael

@ Matt: This can be included in the Troubleshooting for VisitorsMap: Visitors Maps - World, region, city - Analytics Platform - Matomo

@mstenz we should have fixed this in 1.11.1

Could you please try without your config change and check that 1.11.1 is working out of the box? Include encoding in .svg header · Issue #3809 · matomo-org/matomo · GitHub

Hi Matt,

I have already installed 1.11.1 before trying that out, so it looks like the issue occours also in this version.

rgds.
Michael

[quote=budgierless]
Update:

I managed to get it working with the PECL GeoIP setting,

but i now have this error message in Visitors>Location report:

There is an error. Please report the message (Piwik 1.11) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Undefined offset: 2 in /var/www/vhosts/xxxx/domain.com/httpdocs/pwik/plugins/UserCountry/functions.php on line 160

Backtrace -->

#0 Piwik_ErrorHandler(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/plugins/UserCountry/functions.php:160]
#1 Piwik_UserCountry_getPrettyCityName(…) called at [:]
#2 call_user_func_array(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/DataTable/Filter/ColumnCallbackReplace.php:78]
#3 Piwik_DataTable_Filter_ColumnCallbackReplace->filter(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/DataTable.php:387]
#4 Piwik_DataTable->filter(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/plugins/UserCountry/API.php:154]
#5 Piwik_UserCountry_API->getCity(…) called at [:]
#6 call_user_func_array(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/API/Proxy.php:189]
#7 Piwik_API_Proxy->call(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/API/Request.php:127]
#8 Piwik_API_Request->process(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/ViewDataTable.php:431]
#9 Piwik_ViewDataTable->loadDataTableFromAPI(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/ViewDataTable/HtmlTable.php:80]
#10 Piwik_ViewDataTable_HtmlTable->main(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/plugins/UserCountry/Controller.php:440]
#11 Piwik_UserCountry_Controller->checkIfNoDataForGeoIpReport(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/plugins/UserCountry/Controller.php:385]
#12 Piwik_UserCountry_Controller->getCity(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/plugins/UserCountry/Controller.php:28]
#13 Piwik_UserCountry_Controller->index(…) called at [:]
#14 call_user_func_array(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/core/FrontController.php:136]
#15 Piwik_FrontController->dispatch(…) called at [/var/www/vhosts/xxxx/domain.com/httpdocs/pwik/stats/index.php:52]

please advise[/quote]

still hoping for help guys!!

Can you reproduce this error somehow ? If you can on a new day, explain us how to reproduce in a new ticket at: http://dev.piwik.org/ thanks!

same problem, real-map not working for me.