Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 18, 2024 12:06 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Recurring a service with a2billing 1.6?
PostPosted: Tue Apr 13, 2010 3:17 pm 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
Hello,
I am trying to figure out how to recur some monthly fees to certain customers. From my reading based on research, it is not recommended to use the subscription service, rather use the "Account Service" and for each customer, turn on "Run Service".
This solution is not working for me. How can I troubleshoot to see why nobody is getting charged for services?


Top
 Profile  
 
 Post subject: Re: Recurring a service with a2billing 1.6?
PostPosted: Tue Apr 13, 2010 5:28 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Have you got your cronjobs working?

Joe


Top
 Profile  
 
 Post subject: Re: Recurring a service with a2billing 1.6?
PostPosted: Wed Apr 14, 2010 1:28 am 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
I dont see any a2billing stuff in the cron folders
Could you tell me what lines I need to put in and I will add them now?
Thanks


Top
 Profile  
 
 Post subject: Re: Recurring a service with a2billing 1.6?
PostPosted: Wed Apr 14, 2010 7:00 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
In the tarball, there is a cronjobs directory, with the cronjobs to be run, and there are comments at the top of each file with a suggestion of when you may run them.


Joe


Top
 Profile  
 
 Post subject: Re: Recurring a service with a2billing 1.6?
PostPosted: Wed Apr 14, 2010 12:56 pm 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
Thanks, I attempted to test and this is what I got:

PHP Fatal error: Class 'ProcessHandler' not found in /usr/local/a2billing/Cronjobs/a2billing_batch_process.php on line 69

line 69 reads:
if (ProcessHandler :: isActive()) {
die(); // Already running!
} else {
ProcessHandler :: activate();


PHP Version 5.1.6

What direction can I take for a solution?
Thanks


Top
 Profile  
 
 Post subject: Re: Recurring a service with a2billing 1.6?
PostPosted: Wed Apr 14, 2010 1:04 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Use the version of PHP recommended for A2Billing, and mentioned endless times on this forum - PHP Version 5.2


Top
 Profile  
 
 Post subject: Re: Recurring a service with a2billing 1.6?
PostPosted: Wed Apr 14, 2010 1:59 pm 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
My apologies, I did not do enough research to find that PHP 5.2 is the recommended version. I will update my PHP now.
Thanks again


Top
 Profile  
 
 Post subject: Re: Recurring a service with a2billing 1.6?
PostPosted: Wed Apr 14, 2010 2:28 pm 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
I can confirm that my php version is 5.2.11
Still giving me:
PHP Fatal error: Class 'ProcessHandler' not found in /usr/local/a2billing/Cronjobs/a2billing_batch_process.php on line 69


Top
 Profile  
 
 Post subject: Re: Recurring a service with a2billing 1.6?
PostPosted: Wed Apr 14, 2010 5:35 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
jades,

did you reboot the server after PHP upgrade was done?

Rgds
Eamonn

http://www.eatelo.com
http://www.eatelcommunity.com


Top
 Profile  
 
 Post subject: Re: Recurring a service with a2billing 1.6?
PostPosted: Wed Apr 14, 2010 6:28 pm 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
Yes, and just rebooted now again, still no luck


Top
 Profile  
 
 Post subject: Re: Recurring a service with a2billing 1.6?
PostPosted: Wed Apr 14, 2010 7:01 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
jades,
if you have common/lib/ProcessHandler.php file configured with proper permissions, i would look into PHP forum for clues unless you want us to access your system to trouble shoot.

Rgds
Eamonn

http://www.eatelco.com
http://www.eatelcommunity.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group