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
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 - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#2
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
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:
#3
RE: xBilling Issue
Thanks yours article..
Shy






Thats all news haberler is turke
Reply
Thanks given by:
#4
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 - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
[MODULE] xBilling modpluz 239 836 ,821 04-17-2020, 11:37 PM
Last Post: emmarudd222@gmail.com
xbilling Wordpress samuelmed 1 5 ,020 11-13-2019, 09:27 AM
Last Post: TGates
[split] Issue with xBilling blackvai 1 5 ,357 04-03-2019, 11:39 PM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)