Skip to main content
Topic: Bug in registration when name is reserved (Read 2039 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Bug in registration when name is reserved

When I enter in a reserved name at registration the is an AJAX parsing error so the little box doesn't change to indicate anything is wrong.

TypeError: XMLDoc.getElementsByTagName(...)[0] is undefined
$boardurl/elktest/themes/default/scripts/register.js?10beta2
Line 264

The response does indicate the name is reserved though.


   <div id="fatal_error">
      <h2 class="category_header">An Error Has Occurred</h2>
      <div class="generic_list_wrapper">
         <div class="errorbox" id="username_reserved" >The username you tried to use contains the reserved name 'Admin'. Please try another username.</div>
      </div>
   </div>
   <div class="centertext">
      <a class="linkbutton" href="javascript:history.go(-1)">Back[/url]
   </div>

Re: Bug in registration when name is reserved

Reply #1

Thanks, I'll take a look.

The first part of that error is because it did not get an xml response back, the real question is why.


Re: Bug in registration when name is reserved

Reply #3

Confirmed working with those mods.  Thanks.