V26 Cloud Flare Error

Motion

Developer
May 31, 2011
120
0
Hello,

I Currently own Mode Hotel, and it all works, but when i added cloud flare for protection when i try get onto the client it now loads and says "Invalid Season Ticket - Please Login Again", but then when i turn off Cloud Flare it works fine :S any helps / fixes? Also i've try'ed Sso ticket nuller and it still dont work.
 

Thom

You can't touch this
Oct 1, 2010
1,305
386
Thats because it's not updating your last IP to the correct IP.
Put this at the top of core.php (inside the PHP tags):
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }
 

Motion

Developer
May 31, 2011
120
0
Thats because it's not updating your last IP to the correct IP.
Put this at the top of core.php (inside the PHP tags):
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }
Ok, ill test now.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,905
Thats because it's not updating your last IP to the correct IP.
Put this at the top of core.php (inside the PHP tags):
if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }

Or, you could go to 'addUser' and remove the last IP shit. ;)?
 

Users who are viewing this thread

Top