Simple Invoices logo
    • CommentAuthorEcthelion
    • CommentTimeJan 5th 2010 edited
     permalink
    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:

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

    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:

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


    Is XAMPP the problem?
    • CommentAuthorEcthelion
    • CommentTimeJan 5th 2010
     permalink
    Well, I installed WAMP instead of XAMPP, and the PDF and email are both fixed now, so for me the problem is solved. :)
    • CommentAuthorjustin
    • CommentTimeJan 6th 2010
     permalink
    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

    justinSmarterInvoices.com Simple Invoices hosting | SixHQ.com Simple Invoices custom development | Me
    • CommentAuthorEcthelion
    • CommentTimeJan 6th 2010
     permalink
    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. :)
    • CommentAuthorjustin
    • CommentTimeJan 7th 2010
     permalink
    as long as everything is running OK in WAMP - i'll keep recommending windows people using WAMP instead of XAMPP

    cheers

    justinSmarterInvoices.com Simple Invoices hosting | SixHQ.com Simple Invoices custom development | Me