(01-04-2016, 05:47 AM)technicalnetwork Wrote: I've just installed xbilling. I had similar and quite a few issues. Thats because the module has been made for zpanel and there isn't a step by step on how to get it fully working.
1) You have to edit the config here:
go to :
/etc/sentora/panel/modules/xbilling/code
controller.ext.php
go and find both areas where it says "zpanel" and change to "sentora"
2) Once this is done go to your directory where the xbilling_frontend was extracted. For me it is:
/var/sentora/hostdata/zadmin/public_html/technical_network/signup/
(list the directory to make sure)
config.php
Find the panel_url area and edit it to your sentora panel subdomain. like so:
$cfg['panel_url'] = 'http://Sentora.MYhosting.com';
:wq!
3) do the same thing on the config file which should also be in the root directory of your domain.
/var/sentora/hostdata/zadmin/public_html/technical_network
config.php
4) Now go back to the xbilling module, click on Website Settings, and then "download front end script"
Once this file is downloaded, open it up with notepad editor, get the API key and replace the 2 config files we edited with the new API key.
:WQ! for both of the config files (in directory of the billing and the root domain directory)
Go to your domain.com/billing or whatever you have and then you should see a box saying no plans configured.
Hopefully that does it for you.
I'm not an expert in linux so I don't know if the above is completely right or not but worked for me. I did some other editing here and there which I have forgotten lol.
Great, Thank you so much. it work for me