Trouble with PDF and emailing invoices, in XAMPP
  • EcthelionEcthelion January 2010

    Hi,

    I'm using XAMPP in Windows XP, with the 2009 version of Simple Invoices, which I downloaded the other day (before 2010 was released).

    When I try to export an invoice to PDF, I receive this error:

    [b]"Fatal error: Call to undefined method FPDF::GetFontAscender() in C:\xampp\htdocs\simpleinvoices2\library\pdf\output.fpdf.class.php on line 154"[/b]

    I get the exact same error when trying to email directly to customer as PDF.


    I have tried setting the memory allocation for every php.ini I could find to 768M. No luck. What else should I do? I love SI, as it is way more simple than the previously used Simply Accounting, but the email/PDF feature is absolutely necessary.


    And on a related note, I also use the 2008 version of SI. In it, I can export PDFs, but when I try to email them, I get this very similar error:

    [b]"Fatal error: Call to undefined method FPDF::GetFontAscender() in C:\xampp\htdocs\simpleinvoices\include\pdf\output.fpdf.class.php on line 163"[/b]


    Is XAMPP the problem?

  • EcthelionEcthelion January 2010

    Well, I installed WAMP instead of XAMPP, and the PDF and email are both fixed now, so for me the problem is solved. :)

  • justinjustin January 2010

    hey ecthelion

    thanks for the update - glad to hear it works OK with WAMP

    also refer http://forum.tufat.com/showthread.php?t=20210&highlight=GetFontAscender

    cheers

    justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au
  • EcthelionEcthelion January 2010

    Thanks, Justin. That thread didn't quite solve my problem - I wasn't sure what exactly I needed to do.

    However, everything seems to be running smoothly now in WAMP. :)

  • justinjustin January 2010

    as long as everything is running OK in WAMP - i'll keep recommending windows people using WAMP instead of XAMPP

    cheers

    justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

Categories