Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 5:50 am
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Fatal error with html2fpdf
PostPosted: Wed Mar 12, 2008 7:48 pm 
Offline

Joined: Wed Mar 12, 2008 1:33 pm
Posts: 3
Hi,

A2B v1.3.2

When i generate several invoices from card id 1 to card id 3 (for instance) and i select "Email to Customer YES" i obtain following message :

"Fatal error: Cannot redeclare class html2fpdf in /var/www/html/a2billing/Public/pdf-invoices/html2pdf/html2fpdf.php on line 65"

Invoices are created but only the first one is sent by email (using sendmail)

But it is ok when i generate one per one...

I have this problem for months and with all a2billing versions.
Any idea to fix it ? Please ....

Ps: i donated to A2billing/Areski


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 13, 2008 2:43 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Change 'require' for 'require_once' in A2Billing_UI/lib/invoice.php around line 340:
Code:
      require_once('../Public/pdf-invoices/html2pdf/html2fpdf.php');


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 14, 2008 1:39 pm 
Offline

Joined: Wed Mar 12, 2008 1:33 pm
Posts: 3
Thank you very much stavros ! It works perfectly !

A last point : in the "View Invoice" menu, the STATUS column is always empty.
Invoice correctly sent by emal shouldn't appear as "Successfull" ?

Any idea where the problem comes from ?

Thanks


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 4 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group