Closed (fixed)
Project:
WebHost Manager (WHM) Integration
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Jan 2011 at 22:08 UTC
Updated:
29 Aug 2013 at 17:04 UTC
I keep getting the error:
Username length must be less than or equal to WHM_MAX_USERNAME_LEN
This is when I am trying to connect to my whm account.
I am using a username with 8 characters as is normal for WHM and as specified in the file: api.inc
Comments
Comment #1
redijedi commentedComment #2
nandt commentedi am experiencing the same problem.
any ideas from the developer?
or anyone that has this up and running?
thanks
Comment #3
redijedi commentedI just checked in a fix. The workaround is in includes/admin.inc. The constants there need to be prefixed with the Constants wrapper like:
Constants::WHM_{CONSTANT}
The fix is in head and dev should be updated soon.
Comment #4
redijedi commentedTested locally well. Please confirm the fix.
Comment #5
nandt commentedhi i update the module
with the one you upload yesterday.
but the problem still exists..
Username length must be less than or equal to WHM_MAX_USERNAME_LEN
this is what you mean. right? just update the module.
in the host i insert the ip of the host : and the post that asked from the provider
then check secure,
and this is a reseller account.
then the username
the username is 8 letter long.
and then the key.
...
i am doing something wrong?
regards
Comment #6
nandt commentedand something else
when you click accounts the following error occurs
warning: Invalid argument supplied for foreach() in /home/nemesis/public_html/sites/all/modules/whm/whm_ui/includes/admin.inc on line 26.
when click on plans :
warning: Invalid argument supplied for foreach() in /home/nemesis/public_html/sites/all/modules/whm/whm_ui/includes/admin.inc on line 562.
any ideas?
Comment #7
redijedi commentedThere are two issues here. I opened a new ticket for handling the null arrays: http://drupal.org/node/1053694. I have a fix for that issue pending. I'm currently working on the original issue reported here and will update this thread shortly.
Comment #8
nandt commentedok ..waiting for your good news to be done..
Comment #9
nandt commentedchecked again.
In the host field i need to add the ip of the host to work..
thanks..
waiting for your news upon new ubercart integration.
Comment #10
Homotechsual commented