modpluz / xbilling

Billing module for the renowned Sentora
GNU General Public License v3.0
8 stars 13 forks source link

Module does not load #6

Closed alexstojda closed 9 years ago

alexstojda commented 9 years ago

Module produces blank page when opened.

Using Sentora 1.0.0.

alexstojda commented 9 years ago

Fixed using this solution found on the forum post:

Solution : In this file : /etc/sentora/panel/modules/xbilling/code/controller.ext.php

change this line : static $module_db = 'zpanel_xbilling'; to : static $module_db = 'sentora_xbilling';

================UP================ change only server_app from $server_app = 'zpanel'; to : $server_app = 'sentora'; ================UP================

modpluz commented 9 years ago

Hard coding these variables is not advisable as it defeats the purpose of compatibility between the two softwares.

The module has been updated to fix the issue addressed above.