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

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,172
Points
823

Reputation:

I use cloudflare on my x2.1 board.
I have apply this on the config.php file:
PHP:

Code:
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...

Read more

Continue reading...
 
Status
Not open for further replies.
Top