I ran into an issue where all of the people leaving comments were showing the same ip address. The problem apparently stems from hosting the site in a cloud environment where the ip addresses of the load balancer’s where being picked up instead of the visitors’s.
I found that i had to change the Remote_Addr section in the comments.php file in both the adm section and the component section. steps as follows:
Global search for $_SERVER [“REMOTE_ADDR”]
and because i use an ssl cert replace it with $_SERVER [“HTTP_X_FORWARDED_FOR”]
apparently if i did not use a ssl i would have to replace it with $_SERVER[‘HTTP_X_CLUSTER_CLIENT_IP’]
Both of the files were in the controlers folders.
Hope this helps.
Rich