Hi Paul. I have looked into this and fixed the problem. I am using PHP5 so I am not sure if it is a problem for every one else. If I print or eInvoice I get the same problems. First invoice is correct, every invoice after that only has the invoice number. I added the following line to billing.inc.php at line 513 ------ $DB->SetFetchMode(ADODB_FETCH_ASSOC); ------
Just before ------ $invoiceresult = $DB->Execute($query) or die ("$l_queryfailed"); ------ Issue 2 Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 58368 bytes) in /var/www/html/dev/citrus_dev/include/fpdf.php on line 883 This was fixed by moving the following two lines ----- require ('./include/fpdf.php'); $pdf = $pdfobject; ----- to ----- /*------------------------------------------------------------*/ // output the invoice page /*------------------------------------------------------------*/ if ($printtype == "pdf") { require ('./include/fpdf.php'); $pdf = $pdfobject; ----- Thanks a lot for your reply. Cheers. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, 11 October 2006 5:08 AM To: citrusdb-users@lists.sourceforge.net Subject: Citrusdb-users Digest, Vol 5, Issue 4 Send Citrusdb-users mailing list submissions to citrusdb-users@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/citrusdb-users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Citrusdb-users digest..." Today's Topics: 1. eInvoices (Technical Services) 2. Re: eInvoices (Paul Yasi) ---------------------------------------------------------------------- Message: 1 Date: Tue, 10 Oct 2006 11:12:16 +1000 From: "Technical Services" <[EMAIL PROTECTED]> Subject: [Citrusdb-users] eInvoices To: <citrusdb-users@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="windows-1250" Hi Team, First of all thank you for creating such a great product. I am using version 1.0.3 and the eInvoices don?t seem to work properly. I get the message: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 58368 bytes) in /var/www/html/dev/citrus_dev/include/fpdf.php on line 883 After about 20 invoices have been sent and every invoice except the first one only has the invoice number and no further information. Once again thanks for making such a flexible system and keep up the good work! Regards Jeremy D -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.407 / Virus Database: 268.13.1/469 - Release Date: 9/10/2006 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=citrusdb-users/attachment s/20061010/094f3f7b/attachment.html ------------------------------ Message: 2 Date: Tue, 10 Oct 2006 09:57:58 -0400 From: "Paul Yasi" <[EMAIL PROTECTED]> Subject: Re: [Citrusdb-users] eInvoices To: "For users of CitrusDB discussion" <citrusdb-users@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Is this when using the email invoices tool or the print invoices tool? The fpdf functions are not used for emailing invoices, so I'm a little confused by that if this is the when emailing invoices. If you are printing the invoices, PHP has a default memory_limit of 8MB in the php.ini file, to print a large number of invoices you might need to increase that. http://www.fpdf.org/en/FAQ.php#16 Paul On 10/9/06, Technical Services <[EMAIL PROTECTED]> wrote: > > > > > Hi Team, > > > > First of all thank you for creating such a great product. > > > > I am using version 1.0.3 and the eInvoices don't seem to work properly. I > get the message: > > > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > allocate 58368 bytes) in > /var/www/html/dev/citrus_dev/include/fpdf.php on line 883 > > > > After about 20 invoices have been sent and every invoice except the first > one only has the invoice number and no further information. > > > > Once again thanks for making such a flexible system and keep up the good > work! > > > > Regards > > > > Jeremy D > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.407 / Virus Database: 268.13.1/469 - Release Date: 9/10/2006 > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Citrusdb-users mailing list > Citrusdb-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/citrusdb-users > > > -- The CitrusDB Project | http://www.citrusdb.org Open Source Customer Care & Billing System ------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------ _______________________________________________ Citrusdb-users mailing list Citrusdb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/citrusdb-users End of Citrusdb-users Digest, Vol 5, Issue 4 ******************************************** -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 14/10/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 14/10/2006 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Citrusdb-users mailing list Citrusdb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/citrusdb-users