Here was the original file edit they used to call for, for use with vBulletin:
Quote:
1.
Open includes/class_core.php
2.
Find: function fetch_ip() { return $_SERVER['REMOTE_ADDR']; }
replace with:
function fetch_ip() { if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { return $_SERVER['HTTP_CF_CONNECTING_IP']; } return $_SERVER['REMOTE_ADDR']; }
Find:
function fetch_alt_ip() { $alt_ip = $_SERVER['REMOTE_ADDR'];
if (isset($_SERVER['HTTP_CLIENT_IP'])) { $alt_ip = $_SERVER['HTTP_CLIENT_IP']; }
Replace with:
function fetch_alt_ip() { $alt_ip = $_SERVER['REMOTE_ADDR'];
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $alt_ip = $_SERVER['HTTP_CF_CONNECTING_IP']; } else if (isset($_SERVER['HTTP_CLIENT_IP'])) { $alt_ip = $_SERVER['HTTP_CLIENT_IP']; }
3. Upload and overwrite
|
Try re-uploading your original class_core.php file to the server, to overwrite this even if you don't recall doing it.
Quote:
Originally Posted by LS88
I deleted it from within cpanel, as well as deleted it from cloudflares website. When I login now it asks me to add a website.
From within cpanel I reverted DNS to default, since before I did that I had DNS errors (obviously) and now the forum will sometimes load but it takes several minutes sometimes it doesn't load at all and even if it loads you can't click on any threads.
|
Deleted your cloudflare account?
I just got this when trying to load your forum:
Quote:
500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again. URL: http://www.truthinourtime.com/forum/
|