No Real Time Map or Visitor Map - PHP 5.5.26 on Litespeed


#1

Just upgraded to latest version and hosting on new VPS.
I am getting no Real Time Map data, but I am getting Visitor > Location Contry, Reqion and Cities.
I have am using GeoIP (php) and it is installed. System check is all green.
Any help would be appreciated.


#2

anyone? please?


#3

Real time Map says “There is no data for this report”…although I am getting good data at: Visitor > Location Contry, Reqion and Cities.

This is linux based VPS running litespeed rather than apache (should not make a difference).
PHP memory limit is 256Mb…which is more than ample.
No javascript erros…
Added .htaccess as directed in troubleshooting


(Matthieu Aubry) #4

Hi there,

Please check this troubleshooting: When real time map doesn't display users, display help message notification with solution · Issue #6704 · matomo-org/piwik · GitHub

do you see in the response your visitors have latitude and longitude set?


#5

I went through your troubleshooting link, but it didn’t resolve anything.

So I decided to start over, deleted all files and the database, downloaded the program again, uploaded in binary, did the whole re-setup, cleared cookies and cache, installed the Lite City map, PECL stuff and activated PECL method.

On the Administration > Geolocation page, I see the lat & long coordinates for both the PHP and PECL section, (44.339, -88.404) which is my location.

I’m not really sure I understand your question: "do you see in the response your visitors have latitude and longitude set?"
What response?

For Real Time Map it’s still saying “There is no data for this report”…for the Visitor Map it just sits there “loading data …”

The only odd thing I see on the admin / geolocation page is a message saying: “Piwik cannot find any GeoIP $_SERVER variables.” everything else seems to check out as “installed” in green text.

Other messages:
Note: This GeoIP implementation has access to the following types of databases: City.

Note: The ‘geoip.custom_directory’ PHP ini option is set to ‘/home/‘myusername’/public_html/trx/misc’.

This GeoIP implementation has access to the following types of databases: City.

I should also mention that my site forces https:

so entering domain.com wil result in https://www.domain.com - pretty common and should be supported these days.


(Matthieu Aubry) #6

mlx, can you email me a link to this forum post, and your piwik username/password? matt att piwik.org


#7

info sent earlier today Matt


(Matthieu Aubry) #8

The problem is that your Piwik redirects XXX.xxx - Official .XXX Directory to XXX.xxx - Official .XXX Directory (without the index.php) and the redirect occurs all the time, causing a bug in Piwik. disable the redirect /index.php -> /
and it should fix it


#9

Sure enough! That fixed it. It was a redundant .htaccess directive. Thanks! Case closed.

Removed the following from .htaccess

RewriteCond %{HTTP_HOST} !^www.domain.com
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

RewriteCond %{THE_REQUEST} ^./index.php
RewriteRule ^(.
)index.php$ http://www.domain.com/$1 [R=301,L]


#10

Hello mattieu, I have similar problems with @mlx9000 My Piwik has been working fine until today.

  1. Visitors in real time loads perfectly well showing all visitors
  2. Visitors overtime does not load since yesterday’s stats
  3. Visitors map does not load since yesterday’s stats.

I read your response but i do not know if it will work for me. Also, i need more instructions about how to implement the reply because i am not familiar with the high tech processes.

Many thanks for your help.