ok bit of a weird one here, In moving from helm 4 which provisioned the websites across multiple servers for one client, to moving to solidcp, which now load balances the user accounts to a server and then provisions all the domains to that single server, has led to me trying to figure our a way to be able to provision domains across the various servers by adding multiple hosting packages to a client and then applying them to various servers. This effectively should allow 2 packages of the same hosting to be added to the user which would effectively create 2 spaces, hopefully(testing 🙂 ) to a users account under solidcp.
The first package added gets created and all goes well, however when the second package gets added whmcs, whines that a package with the same name is already added. My first thought was the package name setting in the solidcp server settings in the product. This I changed from the name Xpress Mini and made it [Domain_Name] Hosting. With the thought process the package will get given the name “domain1.co.za Hosting” However this does not happen, the package still gets creates as “Xpress Mini” this it seems comes from the hosting plan name.
This now I tried adding a different hosting plan to see if I could add a different hosting plan which has a different name, and the same error. So now this leads me to believe that if you use whmcs, you are unable to effectively sell a client a second hosting package, because it will not create it, because of this clash of the same package name exist already.
If you manually add a second hosting space to an existing user this works fine, so it seems that there is an issue with the way the whmcs provisioning module sees as being the package name.
And then the real zinger.. you can create an account from whmcs, no problem, but you cant add the second, ok so you add it manually to the customer, then you decide to terminate the customers account from whmcs, whoosh every hosting space is deleted not just the one you created via whmcs. So the question is it seems the whmcs module has some issues which need some investigation:
- Why a second package cant be added to an existing clients account
- And if you do have a second package defined, can it be set to delete the hosting space rather than the users account, possibly this could be automated to see if there is a second space then only delete the space being terminated, if its the last space then remove the account also. Or even put a checkbox, that the admin staff can select to terminate the whole account.
- The reason I ask this is some customers ask for different packages for different domains, under one whmcs account, helm 4 allows this, however with helm 4 the hosting plans are terinated and the account needs to manually be removed from the cp.
do you have set up in the WHMCS product, that a domain name is requiered? If yes, then WHMCS will create a username from the domain name, which should be unique with every hosting plan. In this case it’s possible for one WHMCS user to get two (or more) different hosting plans created in SolidCP. Unfortunatelly it’s currently not supported by the module to create a second hosting space for one SolidCP user. So with every order from one user a new user with a new space will be created in SolidCP.
But in this case it’s supported to terminate only one hosting plan in WHMCS and the correct SolidCP account will be deleted/terminated. The remaining hosting plan and SolidCP account will persist.
yes I have all my plans requiring a domain, when I register the plan on whmcs, I provide a company name and a domain name, the company name gets used for the clients account, and the space gets created with the hosting plan name that is specified in solidcp. If I try add a second plan from whmcs, it whines that there is already an account like that and will not add the second one.
The termination option might work if I can get the dual plans working. any idea where i move from here to resolve this issue then.
I decided to scrap all the accounts in whmcs, deleted the products, deleted the module and re-setup all the hosting plans in solidcp, so basically reverted back to a clean install.
I then recreated all of these and re-setup whmcs, etc. I then created a new user account in whmcs with a domain, and I added a second hosting package to the same user and it added, so I don’t know what the previous error was, maybe a leftover form adding and removing the same user previously I am not sure.
This is what I see now :
When I add the first hosting account, ie domain name is idowebsites.co.za, whmcs sets the hosting accounts, username to “idowebsi” and then solidcp creates a user account called “idowebsi” with the domain etc created. with its own hosting space, etc
When I add the second account on the same user, with a domain called thisisatest.co.za it creates the username as “thisisat” and solidcp creates a second user account called “thisisat” with its own space and domain etc.
So effectively a client now has 2 separate accounts to login to to manage his domains.
I was under the impression it would use the same user account, but create separate spaces ? which it seems not to be doing.
I then renamed the second accounts username to the one that is same as the first, and tried to create the second one again, whmcs gives an error from solidcp module saying the account already exists.
I then renamed the account back to the “thisisat” username and tried to create it again, and it gives a 999 error with a serviceid of 2422. No matter what I do it will no longer create an account as it did initially.
I deleted the second hosting account in whmcs, readded it and then it added it again fine.
Is there a setting in whmcs that, I might have setup differently maybe ? If this is the way it works it creates a big issue for some of our clients, as they will have like 40 to 80 accounts with different logins, with single clients this is great, but with clients with multiple domains it causes a bit of a dilemma.
- Views621 times
- Answers4 answers