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.

xBilling Issue
#1
[Not Solved] xBilling Issue
Hey modpluz, I still can not manage to get xbilling to work properly including the cron job.
Was playing around with it today and did some snooping and found this error by using a print_r() in account_jobs.php:
Code:
Array ( [0] =>
Fatal error: Call to a member function GetControllerRequest() on a non-object in /etc/sentora/panel/dryden/ctrl/auth.class.php on line 190
)

Array ( [0] => 1101 )

Array ( [0] => 1101 )

Array ( [0] => 1101 )


Code snippet of the location (Line ~231):

PHP Code:
   static function XMLDataToArray($contents$get_attributes 1$priority 'tag') {
 
       print_r(func_get_args()); // debugging
 
       echo('<br><br>'); // debugging
 
       if (!function_exists('xml_parser_create')) {
 
           return array();
 
       }
 
       $parser xml_parser_create('');
 
       xml_parser_set_option($parserXML_OPTION_TARGET_ENCODING"UTF-8");
 
       xml_parser_set_option($parserXML_OPTION_CASE_FOLDING0);
 
       xml_parser_set_option($parserXML_OPTION_SKIP_WHITE1);
 
       xml_parse_into_struct($parsertrim($contents), $xml_values);
 
       xml_parser_free($parser); 
https://www.mach-hosting.com/signup/cron...s_jobs.php
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#2
[Not Solved] RE: xBilling Issue
Hmm...what happens if you comment out the following method calls one after the other?

Code:
InvoiceReminder();

//Disable Expired Domains
DisableExpiredDomains();
   
//Renewal Reminder
RenewalReminders();    
   
//Delete Expired Domains after X Days - this will probably come in the next version
DeleteExpiredDomains();

Might point us to the problem child here  Smile
Remmy - Senior Full Stack Developer,  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:
#3
[Not Solved] RE: xBilling Issue
Thanks yours article..
Shy






Thats all news haberler is turke
Reply
Thanks given by:
#4
[Not Solved] RE: xBilling Issue
(01-29-2017, 09:09 AM)modpluz Wrote: Hmm...what happens if you comment out the following method calls one after the other?

Code:
InvoiceReminder();

//Disable Expired Domains
DisableExpiredDomains();
   
//Renewal Reminder
RenewalReminders();    
   
//Delete Expired Domains after X Days - this will probably come in the next version
DeleteExpiredDomains();

Might point us to the problem child here  Smile

Will test it out now Wink

PHP Code:
InvoiceReminder(); 
Seems to be the culprit here...?
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
[MODULE] xBilling modpluz 217 132,164 05-23-2017, 01:53 AM
Last Post: TGates
xBilling [MODULE] [PROBLEM] slaserx 5 759 02-06-2017, 03:24 AM
Last Post: modpluz

Forum Jump:


Users browsing this thread: 1 Guest(s)