Closed courtens closed 11 months ago
Hi @courtens, thanks for the detailed report, I understand that it must be frustrating to keep encountering this issue :disappointed:
As before it sounds like there may be a problem where characters encoded in an unexpected way are entering the database and causing the Visits Log to fail (the Live Visitors reports don't use archives and read directly from the log data)
Adding a <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
header is likely working around this by forcing UTF-8 encoding.
Hopefully adding this to your second site will work around the problem for now.
The underlying issue documented in #18763 still needs to be addressed so I'll close this issue as a duplicate but also request a priority review of #18763 so we can look at scheduling some time on this.
@bx80 Thank you. Something to note: <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
did not work as workaround.
UPDATE: Even after implementing Auto-Archiving for the idSite=2
(filmfix.ch) matomo had problems.
Thanks @courtens, extra information is always helpful when trying to recreate and fix these sort of issues :+1:
What happened?
I am again having the issue described in my post https://github.com/matomo-org/matomo/issues/19955
I thought I solved it by adding
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
to all my pages (such as described here https://github.com/matomo-org/matomo/issues/18763#issuecomment-1422892547) but that did not stick. Somehow it worked for some time -- but now I have that error back again.What should happen?
I updated the system to the latest php and implemented Auto-Archiving but the page
category=General_Visitors&subcategory=Live_VisitorLog
is still producing an error foridSite=2
.How can this be reproduced?
I have multiple domain names which use the same code. Based on that I am not thinking that the problem is within the way I send the data matomo.
This is my tracking code used by filmfix.com and filmfix.ch
In matomo reports for
idSite=1
(www.filmfix.com) works, but reports foridSite=2
(www.filmfix.ch) are not.I just discovered that site 2 (which is hosted by a different server) is missing a return header for
content-type
altogether -- could this be causing the problem? I hope this is it. I really wished matomo would filter out the content that brakes the UI before adding it to the database.Matomo Version
Matomo 4
Matomo Patch or Minor Version
4.15.1
PHP Version
8.2.9
Server Operating System
Windows
What browsers are you seeing the problem on?
No response
Computer Operating System
Windows
Relevant log output
Validations