Sentora Support Forums

Full Version: xBilling Issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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
Thanks yours article..
Shy






Thats all news haberler is turke
(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...?