Cloudlare and "No IP logs were found for the requested user" - No IP also on online users list

Scandal

Well-known member
I use cloudflare on my x2.1 board.
I have apply this on the config.php file:
PHP:
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }

if (isset($_SERVER['HTTP_X_FORWARDED_FOR']))
{
    $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_FORWARDED_FOR'];
}
... most of users have IPs recorded, but there are also some users for whom no IPs recorded. Also no IP is show on online users list for those users.

I mean that the problem is relative to some members, not all.

Any idea?
 
I'm curious about this too. For 2.2.16 I still have some members who don't have an IP logged. Though majority of them do. Does anyone know under what circumstances this can happen?
 
Back
Top Bottom