Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Plugins by

hello ....
I have problem with the IP addresses ..ma it wrong dopan at some plugins for example who is online here >>

Active users appear more than once but I'm not sure about doing it addresses because it is at the user setting the address format appears as follows >>


is some problem with qa_eventlog looks of data is written twice here>>


I do not know how to please these problems solved thanks Ell

Q2A version: 1.6.3

1 Answer

0 votes
edited by

I bet apache is listening an IPv6 address. Then, Q2A gets long strings and can not turn them into their 4-byte representation. Try to echo the client IP address and, if you get something different than "w.x.y.z" then you're facing this issue.

If this is the case, you should contact your hosting provider or fix it your self (if you have sudo access to the server). Edit /etc/httpd/conf/httpd.conf (path may vary depending on the OS) and specify an IPv4 address on all Listen directives:

Addition: Do not make it all the IP addresses only some
You mean this happens to some IP addresses? It could still be possible as you don't know what underlaying infrastructure your hosting provider has. Have you found any IP address in IPv6 format or not?
Probably something using an IP anonymizer. I see this often with my user base.
Still you can't trick the IP protocol. You need an IP address in the package. The anonymizer can be used as a proxy and hide your IP but still the end point will receive a valid IP. Only way I can think is IPv6 not fitting in IPv4 field. That is why I requested the OP to echo the value as it comes from the web server (avoiding the DB).
Sometimes I have IPs like "2a02:8070:4183:"[cut] or "1.1 mudmzpr04.i"[cut] from another tracking application. Can't this cause the
That is exactly what I mean. Those are IPv6 addresses. I can confirm they are the issue. Q2A does not currently support such addresses
Is "1.1 mudmzpr04.i" really an IP address? I thought an IP address consists only of numbers.
No, that smells like a hostname. The IPv6 address is before the first cut. More info here: http://en.wikipedia.org/wiki/IPv6_address
That's what I mean, a hostname or whatever does not get stored as digits. So we get the