Undefined index: HTTP_CF_CONNECTING_IP #232
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/tinyib#232
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
When setting
TINYIB_CLOUDFLARE
to true in the settings.php file, tinyib throws this error;PHP message: PHP Notice: Undefined index: HTTP_CF_CONNECTING_IP in /var/www/html/inc/functions.php on line 946"
Are you positive you're connecting via CloudFlare? You could create a script with the following conents:
And then verify that the address displayed belongs to CloudFlare.
I found the problem. I'm also running a .onion site and of course users aren't connecting via a CloudFlare IP there but via the IP 127.0.0.1. On my clearnet version it works fine.