Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 2:14 am
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Reporting broken since managed upgrade to A2Billing v2.0.13
PostPosted: Wed Aug 20, 2014 6:20 am 
Offline

Joined: Thu Apr 17, 2014 9:09 pm
Posts: 8
Since we opted to upgrade a2billing in the interest of mitigating the risk of heartbleed, our reporting seems to be inoperable. Are there any suggestions as to where to look in an effort to resolve (image attached)


Screenshot of reporting page


Top
 Profile  
 
 Post subject: Re: Reporting broken since managed upgrade to A2Billing v2.0.13
PostPosted: Wed Aug 20, 2014 2:45 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Can you check with 2.0.14?

Joe


Top
 Profile  
 
 Post subject: Re: Reporting broken since managed upgrade to A2Billing v2.0.13
PostPosted: Wed Sep 03, 2014 9:30 pm 
Offline

Joined: Mon Mar 02, 2009 8:56 pm
Posts: 271
Hi Joe

I just got a report of this with 2.0.16. I'm assuming it's the same issue.

The Apache error was this -

PHP Fatal error: Can't use function return value in write context in /var/www/a2billing/common/lib/jpgraph_lib/jpgraph.php on line 483

and commenting out these 2 lines made the graphs work again -

483 // if( !isset(filter_input(INPUT_SERVER, 'PHP_SELF', FILTER_SANITIZE_URL)) )
484 // JpGraphError::Raise(" Can't access PHP_SELF, PHP global variable. You can't run PHP from command line if you want to use the 'auto' naming of cache or image files.");

I'm not keen to leave it like that though as I'm not really sure what line 483 is doing?

Thanks, Matt


Top
 Profile  
 
 Post subject: Re: Reporting broken since managed upgrade to A2Billing v2.0.13
PostPosted: Thu Jan 15, 2015 8:35 am 
Offline

Joined: Tue Jun 22, 2010 8:37 pm
Posts: 152
Hi,

commentingt lines 483 and 484 don't works for me.


Top
 Profile  
 
 Post subject: Re: Reporting broken since managed upgrade to A2Billing v2.0.13
PostPosted: Thu Jan 15, 2015 11:21 am 
Offline

Joined: Tue Jun 22, 2010 8:37 pm
Posts: 152
Hi,

another error is when you try to see the PhpSysInfo. It displays a blank page and in the log I can see this error :

PHP Fatal error: 'break' operator with non-constant operand is no longer supported in /usr/local/src/a2billing/admin/phpsysinfo/includes/XPath.class.php on line 3852, referer: http://sip.mydomain.com/admin/Public/A2 ... section=16

Regards.


Top
 Profile  
 
 Post subject: Re: Reporting broken since managed upgrade to A2Billing v2.0.13
PostPosted: Sat Jan 17, 2015 1:50 am 
Offline
User avatar

Joined: Thu Sep 08, 2011 5:17 pm
Posts: 6
Location: Newcastle Upon Tyne, United Kingdom
You can download the latest jpgraph library from jpgraph website.

Extract this into {{a2billing_folder}}/common/lib/jpgraph_lib

I'd suggest first moving the old folder, extracting the new jpgraph lib, what you'll get is 2 folders when extracted src and docportal. Delete docportal and rename src back to jpgraph_lib

Et Voila.

Regards
Dean.


Top
 Profile  
 
 Post subject: Re: Reporting broken since managed upgrade to A2Billing v2.0.13
PostPosted: Mon Jan 19, 2015 12:43 pm 
Offline

Joined: Tue Jun 22, 2010 8:37 pm
Posts: 152
Thanks for the answer,

still don't works for me. Now I got this error :

PHP Notice: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' in /usr/local/src/a2billing/common/lib/jpgraph_lib/jpgraph_errhandler.inc.php on line 282

Regards.


Top
 Profile  
 
 Post subject: Re: Reporting broken since managed upgrade to A2Billing v2.0.13
PostPosted: Mon Jan 19, 2015 12:50 pm 
Offline

Joined: Tue Jun 22, 2010 8:37 pm
Posts: 152
OK, the problem was : This PHP installation is not configured with the GD library. Please recompile PHP with GD support to run JpGraph

Installing GD I can see the graphics.

Thanks for your help.

Regards.


Top
 Profile  
 
 Post subject: Re: Reporting broken since managed upgrade to A2Billing v2.0.13
PostPosted: Tue Feb 24, 2015 4:43 pm 
Offline

Joined: Thu Apr 17, 2014 9:09 pm
Posts: 8
I got it to working last night. A summarized version of what was required is below.


apt-get install php5-gd
cd /usr/src
wget -O jpgraph-3.5.0b1.tar.gz http://jpgraph.net/download/download.php?p=5
tar -xvf jpgraph-3.5.0b1.tar.gz
cp /usr/src/jpgraph-3.5.0b1/src/*.* /usr/share/a2billing/current/stable/common/lib/jpgraph_lib/
mkdir /usr/share/a2billing/current/stable/common/lib/jpgraph_lib/fonts
cp /usr/src/jpgraph-3.5.0b1/src/fonts/*.* /usr/share/a2billing/current/stable/common/lib/jpgraph_lib/fonts/

now on version 2.0.16


Top
 Profile  
 
 Post subject: Re: Reporting broken since managed upgrade to A2Billing v2.0.13
PostPosted: Tue Feb 24, 2015 5:09 pm 
Offline

Joined: Tue Jun 22, 2010 8:37 pm
Posts: 152
Yes, but the lines are very thin. It's posible to use other fonts ?

Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 15 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