Bug with API Virtual Server Creation

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

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 containing remote.cgi ..

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

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.

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

Ok, so the problem is that WHMCS is using the default-features parameter .. when it should really be using features-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.

Hi Jamie,

I will let Matt know and get this updated asap.

Thank you for looking at this.

~Jeremy

Hi Jamie,

I will let Matt know and get this updated asap.

Thank you for looking at this.

~Jeremy

Hi Jamie,

Matt has fixed this in the next release of WHMCS.

You can mark this as closed.

Thx,

~Jeremy

Automatically closed -- issue fixed for 2 weeks with no activity.