1 (edited by mhowson 2007-12-13 13:41)

Topic: Constantly getting this error

Fixed by searching for another post

A new user was registered with the same IP address as you within the last hour. To prevent registration flooding, at least an hour has to pass between registrations from the same IP. Sorry for the inconvenience.

I believe the server is masking IP addresses with its own. How do I disable this functionality to allow registrations?

Thanks

Mark

Re: Constantly getting this error

Im having the same problem

Re: Constantly getting this error

SOLIJA wrote:

Im having the same problem

Remove the following from register.php:

82         // Check that someone from this IP didn't register a user within the last hour (DoS prevention)
83         $result = $db->query('SELECT 1 FROM '.$db->prefix.'users WHERE registration_ip=\''.get_remote_address().'\' AND registered>'.(time() - 3600)) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
84     
85         if ($db->num_rows($result))
86             message('A new user was registered with the same IP address as you within the last hour. To prevent registration flooding, at least an hour has to pass between registrations from the same IP. Sorry for the inconvenience.');
Looking for a certain modification for your forum? Please take a look here before posting.