Submitted by xtremeservices on Mon, 08/08/2011 - 09:36
Hi Guys,
Want to report a small bug with the API virtual server creation. I am using WHMCS to create a Virtual Server using a Specific Server Template and Account Plan. The Account Plan should prevent the server from having a MySQL DB created and this is followed when creating the Server manually using the Account Plan. However as you can see in the Image Attachments this is ignored when passed via API.
~Jeremy
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Mon, 08/08/2011 - 12:25 Comment #1
Perhaps WHMCS is passing in the wrong parameters when creating a domain?
What gets logged to
/var/webmin/miniserv.log
when you create a domain via WHMCS? Look for a line containingremote.cgi
..Submitted by xtremeservices on Mon, 08/08/2011 - 14:38 Comment #2
Hi Jamie,
Attached is what I am getting during the WHMCS creation.
The Starter Account Plan is being selected as it should be but for whatever reason the Server Creation ignores the allowed Features of that plan.
~Jeremy
Submitted by JamieCameron on Mon, 08/08/2011 - 15:58 Comment #3
Unfortunately WHMCS is calling remote.cgi in a way that doesn't log all the parameters...
Can you check at Webmin -> Webmin Actions Log for a call to the create-domain API command, click on it and post here what it says in the "Description" field.
Submitted by xtremeservices on Mon, 08/08/2011 - 16:07 Comment #4
Here you go Jamie,
Called remote API create-domain.pl --email jbrock@brockcomputers.biz --pass l5bwT6Fh90 --domain jeremiahbrock.com --template Standard --default-features --user jeremiahbrock.com --plan Starter
Submitted by JamieCameron on Mon, 08/08/2011 - 16:14 Comment #5
Ok, so the problem is that WHMCS is using the
default-features
parameter .. when it should really be usingfeatures-from-plan
.The way WHMCS is calling Virtualmin now, MySQL will only be not enabled by default if you un-check it in the "Default" column at System Settings -> Features and Plugins.
Submitted by xtremeservices on Mon, 08/08/2011 - 16:18 Comment #6
Hi Jamie,
I will let Matt know and get this updated asap.
Thank you for looking at this.
~Jeremy
Submitted by xtremeservices on Mon, 08/08/2011 - 16:22 Comment #7
Hi Jamie,
I will let Matt know and get this updated asap.
Thank you for looking at this.
~Jeremy
Submitted by xtremeservices on Sun, 08/14/2011 - 15:07 Comment #8
Hi Jamie,
Matt has fixed this in the next release of WHMCS.
You can mark this as closed.
Thx,
~Jeremy
Submitted by JamieCameron on Sun, 08/14/2011 - 15:21 Comment #9
Great!
Submitted by Issues on Sun, 08/28/2011 - 16:21 Comment #10
Automatically closed -- issue fixed for 2 weeks with no activity.