Dgital Essence Posted November 14, 2010 Share Posted November 14, 2010 I have a problem creating a module through WHMCS I have set up an account, created a username/password and then Module Commands - Create and I get the following error: Module Command Error Sorry you must provide a valid username I can't see anything wrong with the username which is: ferossphillips thanks for your help again. 0 Quote Link to comment Share on other sites More sharing options...
Dgital Essence Posted November 14, 2010 Author Share Posted November 14, 2010 Typical... as soon as I post I work it out. The username was too long. I then tried: fe_rp and while I can create an account in WHMCS, the module failed again. I then tried rossp and it worked. Need to find out what the criteria are for account creation on WHM. Shame that WHMCS doesn't pass/fail according to the WHM rules. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 15, 2010 WHMCS Support Manager Share Posted November 15, 2010 WHM/cPanel requires usernames to be 8 characters long, that should be mentioned in their documentation somewhere. 0 Quote Link to comment Share on other sites More sharing options...
Dgital Essence Posted November 17, 2010 Author Share Posted November 17, 2010 Thanks for your reply John, Would it be a good idea if WHMCS validated the password against these WHM rules? Thanks, Hedley 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 17, 2010 WHMCS Support Manager Share Posted November 17, 2010 WHMCS can be used with circa 25 control panels out of the box, each with different rules, so that would be very difficult. 0 Quote Link to comment Share on other sites More sharing options...
Dgital Essence Posted November 17, 2010 Author Share Posted November 17, 2010 Fair point! I was under the impression that it was just WHM that it integrated with. I now remember seeing drop downs with other systems mentioned. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted November 18, 2010 Share Posted November 18, 2010 If its important to you, you could use some jquery code in the template that accepts the username field and do some validation at that point. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.