WHMCS createaccount...
 
Notifications
Clear all

WHMCS createaccount error code -2

38 Posts
4 Users
0 Reactions
5,933 Views
Posts: 1509
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

 

For full debug you would need to download the source code and use visual studio. The PHP error log should give you some details. Enterprise errors are normally shown in the application log.

 

From the server can you try open the web page http://127.0.0.1:9002 (you should see the SolidCP Enterprise page).

 

Thanks,

 

Trevor Robinson

Reply
1 Reply
(@glararan)
Joined: 8 years ago

Eminent Member
Posts: 38

Enterprise server is working.. I have VS, I will download source code and try to debug it this weekend. I'll let you now.

Reply
Posts: 38
Topic starter
(@glararan)
Eminent Member
Joined: 8 years ago

Trevor is in download section relese build? If yes then I have to compile my own for debug :/ Cant load symbols for remote enterprise server :/

 

Btw if I want to build my own I get this error from build-debug.bat

1>V:Downloadsv1.0-1.1.x-dac71c71b30bbb806e17e494a4a7d3e327d94449v1.0-1.1.x-dac71c71b30bbb806e17e494a4a7d3e327d9
4449SolidCPbuild.xml(77,3): error MSB4062: The "MSBuild.Community.Tasks.AssemblyInfo" task could not be loaded
from the assembly V:Downloadsv1.0-1.1.x-dac71c71b30bbb806e17e494a4a7d3e327d94449v1.0-1.1.x-dac71c71b30bbb806
e17e494a4a7d3e327d94449toolsMSBuildCommunityTasks..MSBuildCommunityTasksMSBuild.Community.Tasks.dll. Could
not load file or assembly 'Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f1
1d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> dec
laration is correct, that the assembly and all its dependencies are available, and that the task contains a publ
ic class that implements Microsoft.Build.Framework.ITask.

 

Is there any readme how to prepare solution for build? Thanks

Reply
Posts: 1509
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

 

The pre-req for building the source is:

 

  • Wix Toolset 3.10

 

You will also need the source from our git ( https://git.key4ce.com/SolidCP/v1.0 )

Reply
Posts: 38
Topic starter
(@glararan)
Eminent Member
Joined: 8 years ago

Installed missing Wix, I have 1.1.x from yours git. I guess there is need to do some references between projects or you using build-debug.bat? Build-debug.bat is not working for me.

 

To references: I can see for example SolidCP.EnterpriseServer.Code requires SolidCP.EnterpriseServer.Base

 

Or whats your guide?

 

Thanks

Reply
Posts: 1509
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hi,

I would first try build using the build-release.bat and check that works. There is a known issue with the debug showing a error with regards to the scheduler service but still works fine.

It is best to pull the whole project as it is connected together via the build xml.

 

We do recommend not pulling the project into a user profile due to the char limit on windows. We would normally put it on root of the drive like C:Git.

 

Thanks,

 

Trevor Robinson

Reply
Page 2 / 5
Share: