Broken Registration

baybay

Most Useless User
Aug 10, 2020
22
6
Users are trying to register on my hotel and it is saying they cannot register twice even though they do not have an account registered on the hotel.

I checked database and there is no other accounts but mine and one other person's, as well as looking in the index and register configs and cannot find a line where i can change this variable.

Any suggestions?
 

Johno

:: xHosts :: www.xhosts.uk
Sep 12, 2011
581
246
If you are using cloudflare check the CMS is restoring the real IP instead of giving all visitors the CloudFlare IP

use something like this in one of the main core files of the cms


if (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) {
$_SERVER['REMOTE_ADDR'] = $_SERVER["HTTP_CF_CONNECTING_IP"];
}
 

baybay

Most Useless User
Aug 10, 2020
22
6
If you are using cloudflare check the CMS is restoring the real IP instead of giving all visitors the CloudFlare IP

use something like this in one of the main core files of the cms


if (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) {
$_SERVER['REMOTE_ADDR'] = $_SERVER["HTTP_CF_CONNECTING_IP"];
}
Thanks the issue is resolved.
 

Users who are viewing this thread

Top