RE: xBilling [MODULE]
01-19-2015, 10:27 PM
(This post was last modified: 01-19-2015, 10:46 PM by micro.)
Hi all,
If You need debug sentora please set Sentora Debug Mode to dev.
I try xBilling on fresh install (ubuntu 14.04) and I noticed some errors :
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zpanel_xbilling.x_settings' doesn't exist' in /etc/sentora/panel/dryden/db/driver.class.php:176 Stack trace: /etc/sentora/panel/dryden/db/driver.class.php(176): PDOStatement->execute() Forum Add-ons and Usage /etc/sentora/panel/modules/xbilling/code/controller.ext.php(499): db_driver->bindQuery('SELECT setting_...', Array) MySupport Addon /etc/sentora/panel/dryden/ui/templateparser.class.php(214): module_controller::getEditCompanyName() Test of MySupport MOD [internal function]: ui_templateparser::CompileFunctionEcho('/<@\s([\w*]*)\s...', '<@ Init @>??<di...') #4 /etc/sentora/panel/dryden/ui/templateparser.class.php(65): call_user_func_array('ui_templatepars...', Array) #5 /etc/sentora/panel/dryden/ui/templateparser.class.php(253): ui_templateparser::CompileFunctions('<@ Init @>??<di...') Forum theme [internal function]: ui_templateparser::CompileTemplateClass('/<# ([\w*_*]*) ...', '<!DOCTYPE html>...') Install Docs-ISPconfig /etc/sentora/panel/dryden/ui/templateparser.class.php(65 in /etc/sentora/panel/dryden/db/driver.class.php on line 176
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================
Inside in module I found :
Warning: SimpleXMLElement::asXML(./modules/xbilling/xbilling.xml): failed to open stream: Permission denied in /etc/sentora/panel/modules/xbilling/code/controller.ext.php on line 83
If You need debug sentora please set Sentora Debug Mode to dev.
I try xBilling on fresh install (ubuntu 14.04) and I noticed some errors :
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zpanel_xbilling.x_settings' doesn't exist' in /etc/sentora/panel/dryden/db/driver.class.php:176 Stack trace: /etc/sentora/panel/dryden/db/driver.class.php(176): PDOStatement->execute() Forum Add-ons and Usage /etc/sentora/panel/modules/xbilling/code/controller.ext.php(499): db_driver->bindQuery('SELECT setting_...', Array) MySupport Addon /etc/sentora/panel/dryden/ui/templateparser.class.php(214): module_controller::getEditCompanyName() Test of MySupport MOD [internal function]: ui_templateparser::CompileFunctionEcho('/<@\s([\w*]*)\s...', '<@ Init @>??<di...') #4 /etc/sentora/panel/dryden/ui/templateparser.class.php(65): call_user_func_array('ui_templatepars...', Array) #5 /etc/sentora/panel/dryden/ui/templateparser.class.php(253): ui_templateparser::CompileFunctions('<@ Init @>??<di...') Forum theme [internal function]: ui_templateparser::CompileTemplateClass('/<# ([\w*_*]*) ...', '<!DOCTYPE html>...') Install Docs-ISPconfig /etc/sentora/panel/dryden/ui/templateparser.class.php(65 in /etc/sentora/panel/dryden/db/driver.class.php on line 176
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================
Inside in module I found :
Warning: SimpleXMLElement::asXML(./modules/xbilling/xbilling.xml): failed to open stream: Permission denied in /etc/sentora/panel/modules/xbilling/code/controller.ext.php on line 83