This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[MODULE] xBilling
#44
[Solved] RE: xBilling [MODULE]
(01-22-2015, 02:03 PM)SkiRac3rDud3 Wrote:
(01-19-2015, 10:27 PM)micro Wrote: 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

I can confirm that Hard coding the changes worked for me as well.

Thanks for the solution!

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

The module has been updated to fix the issue addressed above.
Remi - Software Engineer,  Sentora Module Developer,  Owner, imerLabs


Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution.
Do a SEARCH before asking in the forums, a solution may already exist.
Reply
Thanks given by:


Messages In This Thread
[MODULE] xBilling - by modpluz - 10-14-2014, 05:16 PM
RE: xBilling [MODULE] - by Nigel - 10-14-2014, 05:51 PM
RE: xBilling [MODULE] - by etienne7702 - 10-14-2014, 08:50 PM
RE: xBilling [MODULE] - by Smartay - 10-14-2014, 09:41 PM
RE: xBilling [MODULE] - by modpluz - 10-15-2014, 02:03 AM
RE: xBilling [MODULE] - by dansanti - 10-15-2014, 09:25 AM
RE: xBilling [MODULE] - by etienne7702 - 10-15-2014, 09:03 PM
RE: xBilling [MODULE] - by TGates - 10-16-2014, 02:43 AM
RE: xBilling [MODULE] - by shaifful - 11-02-2014, 11:36 PM
RE: xBilling [MODULE] - by TGates - 11-03-2014, 11:23 PM
RE: xBilling [MODULE] - by francismaina - 02-13-2016, 02:10 AM
RE: xBilling [MODULE] - by shaifful - 11-04-2014, 12:09 AM
RE: xBilling [MODULE] - by TGates - 11-04-2014, 01:33 AM
RE: xBilling [MODULE] - by modpluz - 11-04-2014, 07:09 PM
RE: xBilling [MODULE] - by 5050 - 11-06-2014, 01:26 AM
RE: xBilling [MODULE] - by CK96 - 11-14-2014, 09:22 PM
RE: xBilling [MODULE] - by firekraqur - 11-22-2014, 12:39 PM
RE: xBilling [MODULE] - by modpluz - 11-27-2014, 04:38 PM
RE: xBilling [MODULE] - by codehitam - 11-29-2014, 12:14 AM
RE: xBilling [MODULE] - by TheVP - 12-01-2014, 09:38 PM
RE: xBilling [MODULE] - by Cantalupo - 12-12-2014, 08:06 AM
RE: xBilling [MODULE] - by 2talweb - 12-21-2014, 08:50 AM
RE: xBilling [MODULE] - by rafaht - 12-23-2014, 09:55 PM
RE: xBilling [MODULE] - by rafaht - 12-25-2014, 10:41 PM
RE: xBilling [MODULE] - by modpluz - 01-02-2015, 07:12 PM
RE: xBilling [MODULE] - by btbh - 01-04-2015, 08:21 PM
RE: xBilling [MODULE] - by modpluz - 01-04-2015, 09:58 PM
RE: xBilling [MODULE] - by btbh - 01-04-2015, 10:03 PM
RE: xBilling [MODULE] - by modpluz - 01-05-2015, 08:03 PM
RE: xBilling [MODULE] - by btbh - 01-05-2015, 08:11 PM
RE: xBilling [MODULE] - by modpluz - 01-05-2015, 08:30 PM
RE: xBilling [MODULE] - by btbh - 01-05-2015, 08:38 PM
RE: xBilling [MODULE] - by modpluz - 01-06-2015, 05:34 AM
RE: xBilling [MODULE] - by btbh - 01-06-2015, 06:09 AM
RE: xBilling [MODULE] - by modpluz - 01-06-2015, 05:24 PM
RE: xBilling [MODULE] - by btbh - 01-06-2015, 09:17 PM
RE: xBilling [MODULE] - by modpluz - 01-06-2015, 09:34 PM
RE: xBilling [MODULE] - by btbh - 01-06-2015, 09:36 PM
RE: xBilling [MODULE] - by micro - 01-19-2015, 10:27 PM
RE: xBilling [MODULE] - by SkiRac3rDud3 - 01-22-2015, 02:03 PM
RE: xBilling [MODULE] - by modpluz - 01-20-2015, 01:54 AM
RE: xBilling [MODULE] - by andream - 01-20-2015, 11:38 PM
RE: xBilling [MODULE] - by TGates - 01-24-2015, 03:36 AM
RE: xBilling [MODULE] - by SkiRac3rDud3 - 01-24-2015, 03:51 AM
RE: xBilling [MODULE] - by modpluz - 01-24-2015, 10:57 AM
RE: xBilling [MODULE] - by modpluz - 01-24-2015, 12:02 PM
RE: xBilling [MODULE] - by SkiRac3rDud3 - 01-24-2015, 01:05 PM
RE: xBilling [MODULE] - by TGates - 01-24-2015, 12:21 PM
RE: xBilling [MODULE] - by modpluz - 01-25-2015, 03:45 AM
RE: xBilling [MODULE] - by SkiRac3rDud3 - 01-25-2015, 12:51 PM
RE: xBilling [MODULE] - by modpluz - 01-25-2015, 04:44 PM
RE: xBilling [MODULE] - by aled2305 - 01-28-2015, 03:39 AM
Service Plans? - by surety - 01-28-2015, 10:22 AM
RE: xBilling [MODULE] - by TGates - 01-28-2015, 11:25 AM
RE: xBilling [MODULE] - by surety - 01-28-2015, 11:33 AM
RE: xBilling [MODULE] - by modpluz - 01-28-2015, 03:53 PM
RE: xBilling [MODULE] - by aled2305 - 01-28-2015, 04:51 PM
RE: xBilling [MODULE] - by modpluz - 01-28-2015, 05:15 PM
RE: xBilling [MODULE] - by aled2305 - 01-28-2015, 06:08 PM
RE: xBilling [MODULE] - by modpluz - 01-28-2015, 06:57 PM
RE: xBilling [MODULE] - by aled2305 - 01-28-2015, 08:11 PM
RE: xBilling [MODULE] - by modpluz - 01-28-2015, 08:43 PM
RE: xBilling [MODULE] - by aled2305 - 01-28-2015, 10:21 PM
RE: xBilling [MODULE] - by modpluz - 01-28-2015, 10:27 PM
RE: xBilling [MODULE] - by aled2305 - 01-28-2015, 10:47 PM
RE: xBilling [MODULE] - by andream - 01-29-2015, 04:17 AM
RE: xBilling [MODULE] - by TGates - 01-29-2015, 05:05 AM
RE: xBilling [MODULE] - by SkiRac3rDud3 - 01-31-2015, 03:33 AM
RE: xBilling [MODULE] - by aled2305 - 01-29-2015, 06:24 PM
RE: xBilling [MODULE] - by modpluz - 01-29-2015, 06:37 PM
RE: xBilling [MODULE] - by aled2305 - 01-29-2015, 07:59 PM
RE: xBilling [MODULE] - by dinos87 - 02-02-2015, 11:28 PM
RE: xBilling [MODULE] - by makanenzo10 - 02-04-2015, 11:26 PM
RE: xBilling [MODULE] - by makanenzo10 - 02-05-2015, 09:32 AM
RE: xBilling [MODULE] - by modpluz - 02-05-2015, 09:58 PM
RE: xBilling [MODULE] - by makanenzo10 - 02-06-2015, 06:41 AM
RE: xBilling [MODULE] - by modpluz - 02-06-2015, 10:58 PM
RE: xBilling [MODULE] - by makanenzo10 - 02-06-2015, 11:08 PM
RE: xBilling [MODULE] - by PanelUser - 02-10-2015, 04:26 AM
RE: xBilling [MODULE] - by makanenzo10 - 02-10-2015, 07:56 AM
RE: xBilling [MODULE] - by rafaht - 02-12-2015, 07:42 AM
RE: xBilling [MODULE] - by makanenzo10 - 02-12-2015, 08:53 AM
RE: xBilling [MODULE] - by rafaht - 02-12-2015, 09:16 AM
RE: xBilling [MODULE] - by modpluz - 02-12-2015, 05:00 PM
RE: xBilling [MODULE] - by matpal - 02-13-2015, 03:22 PM
RE: xBilling [MODULE] - by rafaht - 02-13-2015, 10:40 PM
RE: xBilling [MODULE] - by nelson - 03-01-2015, 06:54 AM
RE: xBilling [MODULE] - by nelson - 03-08-2015, 12:48 PM
RE: xBilling [MODULE] - by layman - 03-08-2015, 01:04 PM
RE: xBilling [MODULE] - by nelson - 03-08-2015, 10:50 PM
RE: xBilling [MODULE] - by layman - 03-08-2015, 11:09 PM
RE: xBilling [MODULE] - by layman - 03-08-2015, 11:15 PM
RE: xBilling [MODULE] - by Ron-e - 03-08-2015, 11:33 PM
RE: xBilling [MODULE] - by nelson - 03-09-2015, 02:24 AM
RE: xBilling [MODULE] - by Ron-e - 03-09-2015, 04:01 AM
RE: xBilling [MODULE] - by modpluz - 03-09-2015, 04:03 AM
RE: xBilling [MODULE] - by Radw - 03-09-2015, 04:47 AM
RE: xBilling [MODULE] - by seenko - 03-11-2015, 04:40 AM
RE: xBilling [MODULE] - by modpluz - 03-11-2015, 05:08 AM
RE: xBilling [MODULE] - Nothing saves - by abasel - 03-26-2015, 11:49 AM
RE: xBilling [MODULE] - by Castey - 04-03-2015, 08:51 AM
RE: xBilling [MODULE] - by rafaht - 04-03-2015, 09:42 AM
RE: xBilling [MODULE] - by Castey - 04-03-2015, 09:57 AM
RE: xBilling [MODULE] - by rafaht - 04-03-2015, 10:56 AM
RE: xBilling [MODULE] - by Good One - 04-04-2015, 01:34 AM
RE: xBilling [MODULE] - by Good One - 04-04-2015, 01:50 AM
RE: xBilling [MODULE] - by rafaht - 04-04-2015, 03:24 PM
RE: xBilling [MODULE] - by Castey - 04-04-2015, 11:01 PM
RE: xBilling [MODULE] - by rafaht - 04-04-2015, 11:21 PM
RE: xBilling [MODULE] - by Castey - 04-04-2015, 11:47 PM
RE: xBilling [MODULE] - by rafaht - 04-05-2015, 12:01 AM
RE: xBilling [MODULE] - by rafaht - 04-05-2015, 03:45 AM
RE: xBilling [MODULE] - by potyomkin - 04-30-2015, 11:57 PM
RE: xBilling [MODULE] - by Ron-e - 05-01-2015, 12:31 AM
RE: xBilling [MODULE] - by potyomkin - 05-01-2015, 01:25 AM
RE: xBilling [MODULE] - by potyomkin - 05-01-2015, 01:23 AM
RE: xBilling [MODULE] - by mrsasa - 05-02-2015, 03:18 PM
RE: xBilling [MODULE] - by liamgibbins - 05-29-2015, 05:17 AM
RE: xBilling [MODULE] - by iamcur - 05-02-2015, 07:11 PM
RE: xBilling [MODULE] - by hernanes - 05-09-2015, 04:09 AM
RE: xBilling [MODULE] - by Castey - 05-16-2015, 06:07 AM
RE: xBilling [MODULE] - by hernanes - 05-16-2015, 07:12 AM
RE: xBilling [MODULE] - by liamgibbins - 05-29-2015, 04:02 AM
RE: xBilling [MODULE] - by liamgibbins - 05-29-2015, 04:34 AM
RE: xBilling [MODULE] - by modpluz - 05-31-2015, 04:40 AM
RE: xBilling [MODULE] - by mickael - 06-24-2015, 12:45 AM
RE: xBilling [MODULE] - by skpacman - 06-25-2015, 04:54 AM
RE: xBilling [MODULE] - by rafaht - 07-13-2015, 02:56 AM
RE: xBilling [MODULE] - by clu55ter - 08-07-2015, 05:31 AM
RE: xBilling [MODULE] - by zustudios - 08-25-2015, 06:51 AM
RE: xBilling [MODULE] - by BBuchanan - 08-26-2015, 04:04 AM
RE: xBilling [MODULE] - by TGates - 08-26-2015, 06:10 AM
RE: xBilling [MODULE] - by zustudios - 10-02-2015, 11:25 AM
RE: xBilling [MODULE] - by zustudios - 10-08-2015, 12:09 PM
RE: xBilling [MODULE] - by coitam - 09-23-2015, 06:07 AM
RE: xBilling [MODULE] - by TGates - 09-23-2015, 03:35 PM
RE: xBilling [MODULE] - by coitam - 09-23-2015, 06:49 PM
RE: xBilling [MODULE] - by coitam - 09-23-2015, 11:14 PM
RE: xBilling [MODULE] - by TGates - 09-24-2015, 01:54 AM
RE: xBilling [MODULE] - by coitam - 09-24-2015, 08:31 AM
RE: xBilling [MODULE] - by coitam - 09-24-2015, 08:43 PM
RE: xBilling [MODULE] - by TGates - 09-25-2015, 08:01 AM
RE: xBilling [MODULE] - by darkrisingx - 09-26-2015, 10:57 PM
RE: xBilling [MODULE] - by coitam - 09-30-2015, 11:31 AM
RE: xBilling [MODULE] - by MarkDark - 09-30-2015, 11:56 AM
RE: xBilling [MODULE] - by coitam - 09-30-2015, 02:17 PM
RE: xBilling [MODULE] - by MarkDark - 09-30-2015, 02:45 PM
RE: xBilling [MODULE] - by MarkDark - 09-30-2015, 02:51 PM
RE: xBilling [MODULE] - by modpluz - 10-03-2015, 03:11 PM
RE: xBilling [MODULE] - by darkrisingx - 10-03-2015, 09:31 PM
RE: xBilling [MODULE] - by coitam - 10-04-2015, 01:14 PM
RE: xBilling [MODULE] - by coitam - 10-09-2015, 03:10 PM
RE: xBilling [MODULE] - by jhulyoz - 12-14-2015, 10:59 AM
RE: xBilling [MODULE] - by modpluz - 10-04-2015, 02:33 PM
RE: xBilling [MODULE] - by coitam - 10-04-2015, 02:46 PM
RE: xBilling [MODULE] - by modpluz - 10-04-2015, 02:35 PM
RE: xBilling [MODULE] - by zustudios - 10-08-2015, 12:15 PM
RE: xBilling [MODULE] - by Fuzzy - 10-08-2015, 10:56 PM
RE: xBilling [MODULE] - by zustudios - 10-09-2015, 02:32 AM
RE: xBilling [MODULE] - by Fuzzy - 10-09-2015, 04:46 AM
RE: xBilling [MODULE] - by zustudios - 10-09-2015, 06:06 AM
RE: xBilling [MODULE] - by Fuzzy - 10-09-2015, 06:23 AM
RE: xBilling [MODULE] - by zustudios - 10-09-2015, 06:31 AM
RE: xBilling [MODULE] - by Fuzzy - 10-09-2015, 06:41 AM
RE: xBilling [MODULE] - by zustudios - 10-09-2015, 06:59 AM
RE: xBilling [MODULE] - by modpluz - 10-04-2015, 03:02 PM
RE: xBilling [MODULE] - by coitam - 10-04-2015, 03:25 PM
RE: xBilling [MODULE] - by TGates - 10-05-2015, 12:13 AM
RE: xBilling [MODULE] - by coitam - 10-05-2015, 06:11 PM
RE: xBilling [MODULE] - by TGates - 10-06-2015, 01:15 AM
RE: xBilling [MODULE] - by coitam - 10-07-2015, 12:17 AM
RE: xBilling [MODULE] - by TGates - 10-07-2015, 03:51 AM
RE: xBilling [MODULE] - by coitam - 10-07-2015, 04:07 PM
RE: xBilling [MODULE] - by liamgibbins - 10-10-2015, 06:27 AM
RE: xBilling [MODULE] - by coitam - 10-20-2015, 03:23 PM
RE: xBilling [MODULE] - by modpluz - 10-20-2015, 04:23 PM
RE: xBilling [MODULE] - by coitam - 10-21-2015, 05:56 PM
RE: xBilling [MODULE] - by TGates - 10-22-2015, 05:44 AM
RE: xBilling [MODULE] - by coitam - 10-22-2015, 12:49 PM
RE: xBilling [MODULE] - by TGates - 10-23-2015, 02:37 AM
RE: xBilling [MODULE] - by coitam - 10-27-2015, 12:36 PM
RE: xBilling [MODULE] - by TGates - 10-27-2015, 05:10 PM
RE: xBilling [MODULE] - by Fuzzy - 10-27-2015, 07:40 PM
RE: xBilling [MODULE] - by TGates - 10-28-2015, 01:10 AM
RE: xBilling [MODULE] - by maniscalco03 - 11-11-2015, 09:45 AM
RE: xBilling [MODULE] - by Samuel - 11-26-2015, 07:39 AM
RE: xBilling [MODULE] - by modcar - 11-30-2015, 07:42 PM
RE: xBilling [MODULE] - by insha - 11-30-2015, 06:21 PM
RE: xBilling [MODULE] - by liamgreen - 12-08-2015, 07:18 AM
RE: xBilling [MODULE] - by JonathanNet - 12-16-2015, 08:05 AM
RE: xBilling [MODULE] - by jagathks - 12-23-2015, 02:42 AM
RE: xBilling [MODULE] - by TGates - 12-23-2015, 05:17 PM
RE: xBilling [MODULE] - by modpluz - 12-23-2015, 05:36 PM
RE: xBilling [MODULE] - by jagathks - 12-23-2015, 11:19 PM
RE: xBilling [MODULE] - by TGates - 12-24-2015, 04:04 AM
RE: xBilling [MODULE] - by jagathks - 12-24-2015, 04:07 PM
RE: xBilling [MODULE] - by modpluz - 02-06-2016, 06:53 PM
RE: xBilling [MODULE] - by warmax356 - 02-07-2016, 12:31 PM
RE: xBilling [MODULE] - by francismaina - 02-12-2016, 10:14 PM
RE: xBilling [MODULE] - by francismaina - 02-12-2016, 10:16 PM
RE: xBilling [MODULE] - by francismaina - 02-12-2016, 10:34 PM
RE: xBilling [MODULE] - by ccr1969 - 02-15-2016, 07:07 AM
RE: xBilling [MODULE] - by khaerul - 02-16-2016, 10:47 AM
RE: xBilling [MODULE] - by dlong93 - 08-26-2016, 02:18 AM
RE: xBilling [MODULE] - by TGates - 08-26-2016, 02:51 AM
RE: xBilling [MODULE] - by modpluz - 08-26-2016, 03:08 AM
RE: xBilling [MODULE] - by dlong93 - 08-26-2016, 05:37 AM
RE: xBilling [MODULE] - by hp98173 - 09-18-2016, 10:04 AM
RE: xBilling [MODULE] - by kini - 09-21-2016, 06:32 AM
RE: xBilling [MODULE] - by TGates - 09-22-2016, 05:21 AM
RE: xBilling [MODULE] - by modpluz - 09-23-2016, 09:50 AM
RE: xBilling [MODULE] - by kini - 09-26-2016, 02:18 AM
RE: xBilling [MODULE] - by TGates - 09-24-2016, 05:19 AM
RE: xBilling [MODULE] - by wehaye - 09-25-2016, 03:35 PM
RE: xBilling [MODULE] - by slaserx - 01-31-2017, 02:18 AM
RE: xBilling [MODULE] - by modpluz - 02-06-2017, 03:26 AM
RE: [MODULE] xBilling - by Chris L - 05-22-2017, 06:22 PM
RE: [MODULE] xBilling - by liamgibbins - 12-06-2017, 06:01 AM
RE: [MODULE] xBilling - by TGates - 05-23-2017, 01:53 AM
RE: [MODULE] xBilling - by liamgibbins - 12-13-2017, 09:47 AM
RE: [MODULE] xBilling - by timce2000 - 03-23-2018, 01:37 AM
RE: [MODULE] xBilling - by TGates - 03-23-2018, 09:25 AM
RE: [MODULE] xBilling - by timce2000 - 03-23-2018, 05:07 PM
RE: [MODULE] xBilling - by TGates - 03-24-2018, 07:13 AM
RE: [MODULE] xBilling - by TGates - 03-25-2018, 08:55 AM
RE: [MODULE] xBilling - by timce2000 - 04-02-2018, 06:47 PM
RE: [MODULE] xBilling - by TGates - 04-05-2018, 05:36 AM
RE: [MODULE] xBilling - by timce2000 - 07-18-2018, 09:07 PM
RE: [MODULE] xBilling - by TGates - 07-27-2018, 02:36 PM
RE: [MODULE] xBilling - by Ron-e - 07-21-2018, 02:05 PM
RE: [MODULE] xBilling - by republicus - 10-17-2018, 10:43 AM
RE: [MODULE] xBilling - by blackvai - 03-24-2019, 11:11 PM
RE: [MODULE] xBilling - by Belko2 - 09-19-2019, 04:42 AM
RE: [MODULE] xBilling - by TGates - 09-19-2019, 11:55 PM
RE: [MODULE] xBilling - by Belko2 - 09-21-2019, 03:56 AM
RE: [MODULE] xBilling - by TGates - 09-22-2019, 07:52 AM
RE: [MODULE] xBilling - by zustudios - 12-23-2019, 03:59 AM
RE: [MODULE] xBilling - by TGates - 01-05-2020, 04:43 AM
RE: [MODULE] xBilling - by zustudios - 01-05-2020, 05:28 AM
RE: [MODULE] xBilling - by emmarudd222@gmail.com - 04-17-2020, 11:37 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
(Idea) Reminder module bbspike 2 2 489 11-30-2020, 08:24 PM
Last Post: brucecy92
[MODULE][WIP] Sencrypt Let's Encrypt SSL Module TGates 45 49 172 09-11-2020, 09:10 AM
Last Post: TGates
My temporary module repo TGates 0 531 09-11-2020, 08:58 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)