Problems with WHMCS...
 
Notifications
Clear all

Problems with WHMCS after moving from websitepanel

4 Posts
2 Users
0 Reactions
1,140 Views
Posts: 38
Topic starter
(@harpwro)
Trusted Member
Joined: 8 years ago

We have upgraded to solidcp from websitepanel without apparent problems. Installed Solidcp WHMCS module, but can't create hosting accounts from WHMCS.

It returns:

Order Accept Encountered Problems
CreateAccount Fault: (Code: 0, Message: ChangeUserStatus Fault: (Code: 0, Message: SOAP Fault: (Code: 0, Message: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. at SolidCP.EnterpriseServer.UserCreationWizard.CreateUserAccountInternal(Int32 parentPackageId, String username, String password, Int32 roleId, String firstName, String lastName, String email, String secondaryEmail, Boolean htmlMail, Boolean sendAccountLetter, Boolean createPackage, Int32 planId, Boolean sendPackageLetter, String domainName, Boolean tempDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName, Boolean createZoneRecord) at SolidCP.EnterpriseServer.UserCreationWizard.CreateUserAccount(Int32 parentPackageId, String username, String password, Int32 roleId, String firstName, String lastName, String email, String secondaryEmail, Boolean htmlMail, Boolean sendAccountLetter, Boolean createPackage, Int32 planId, Boolean sendPackageLetter, String domainName, Boolean tempDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName, Boolean createZoneRecord) at SolidCP.EnterpriseServer.esPackages.CreateUserWizard(Int32 parentPackageId, String username, String password, Int32 roleId, String firstName, String lastName, String email, String secondaryEmail, Boolean htmlMail, Boolean sendAccountLetter, Boolean createPackage, Int32 planId, Boolean sendPackageLetter, String domainName, Boolean tempDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName, Boolean createZoneRecord) --- End of inner exception stack trace ---), Service ID: 15)

 

We are running whmcs on windows/iis on the same server where the account was attempted to install.. Any ideas why this error is returned?

It worked fine with websitepanel

AG

3 Replies
Posts: 80
(@bogdan_k)
Member
Joined: 8 years ago

Hey,

first of all please note, that WHMCS is not supporting Windows machines according to their system requirements: http://docs.whmcs.com/System_Requirements

That's why the SolidCP WHMCS module is not tested on Windows systems. I would suggest to use a separate Linux machine for WHMCS and communicate via an internal (protected) network with the SolidCP enterprise server in production environments.

Regarding your issue, can you create a new user and add a new hosting space directly from SolidCP?

If yes, can you please go in WHMCS admin area to the "Setup" -> "Products/Services" -> "Servers" and click on the edit icon, where you've set up the SolidCP enterprise server. On this page, please click on the "Test connection" button on the bottom of this page. If there is any error, please post it here.

If the connection is ok, please go in WHMCS admin area to "Setup" -> "Products/Services" -> "Products/Services", edit the product you want to provision in SolidCP and go to the "Module Settings" tab and post your settings here.

It's a SolidCP error, which the module returns, so I suppose that any of the needed parameters is missing, if a manual creation is working from SolidCP directly.

Best regards

Bogdan

Reply
Posts: 38
Topic starter
(@harpwro)
Trusted Member
Joined: 8 years ago

Hello

Yes, we know all about that whmcs installation on linux, we have linux and windows servers but for special reasons we installed it in windows 2012/iis, works perfectly without any problems, and we install linux websites from there. It is a bit silly in fact but we did this at the time we installed and continue to use it there. Until now it installed also fine websitepanel websites.

I can create user and website in solidcp directly, no problem with that

Followed your steps:

1 - “Setup” -> “Products/Services” -> “Servers”, I tested the connection, it returned successful

2 - “Setup” -> “Products/Services” -> “Products/Services”, I changed something there now...
Parent Space ID was 1 (from previous websitepanel setting), I just tested changing to serveradmin. Now it returns a different error:

Order Accept Encountered Problems
CreateAccount Fault: (Code: -300, Message: Fault: Hosting package could not be found, Service ID: 15)

Tried adding package name Mini to Package Name, also on SolidCP Plan ID, but returns same error.

What fields need to be filled in completely on the module settings?

AG

Reply
Posts: 38
Topic starter
(@harpwro)
Trusted Member
Joined: 8 years ago

Hi again
Just found what the problem was.....  Fixed it by looking into solidcp links to hosting plans and spaceid.

Spaceid was in fact the same used under websitepanel - #1, hosting plan was #10, it worked  out fine now. I was inserting hosting plan name on Module Settings for that account, instead of the ref number.

Thanks !

AG

Reply
Share: