Hey all,
I'm currently running RevCMS with the Habbo template and i'm using Cloudflare. I've added the following line of code to the client file aswell as the voting api as i'm told it's necessary if running cloudflare:
However, some users to my hotel are getting the following errors:
Thanks!
I'm currently running RevCMS with the Habbo template and i'm using Cloudflare. I've added the following line of code to the client file aswell as the voting api as i'm told it's necessary if running cloudflare:
PHP:
if (isset($_SERVER['HTTP_CF_CONNECTING_IP']))
{
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP'];
}
However, some users to my hotel are getting the following errors:
- Unable to login error stating that their username is incorrect even though it is listed in the users table
- 404 error - particularly with google chrome although i'm using google chrome and it works for me
- 405 - HTTP verb used to access this page is not allowed.
- Blank page for client
- Registration not working correctly for minority, do I need to enter the above code into registration too?
Thanks!