|
Re: error when adding a blocked login that already is blocked [message #4440 is a reply to message #4437] |
Fri, 26 July 2002 20:51 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
computer_dan wrote on Fri, 26 July 2002 16:40 | in the Login Blocker, if you attempt to block a login that is already blocked, you get:
query failed: %( INSERT INTO fud21_blocked_logins (login) VALUES('ccnm') )% because %( Duplicate entry 'ccnm' for key 2 )%
I am using 2.2.4RC1
|
That is not a bug, you should not be blocking already blocked logins, the list of all the blocked logins is listed at the bottom of the page for that very reason.
FUDforum Core Developer
|
|
|
|
|
|
Re: error when adding a blocked login that already is blocked [message #4447 is a reply to message #4446] |
Fri, 26 July 2002 21:02 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Error checking is necessary for general public, which is why all user forms in FUDforum have extensive error checks and detailed error messages.
The critical things like thread prunning, deletion of messages, etc... also have an in between verification steps to prevent accidents.
However, basic input errors, which would not cause any problems should the problem occur on admin panels do not have error checks are not needed. If an error occurs and you get a MySQL error the error message will tell you want the problem is, so it is not like you cannot figure it out.
FUDforum Core Developer
|
|
|