Error creating/sending PDF
  • marcnycmarcnyc February 2010

    I recently switched servers (went from shared hosting to VPS) and now I can't seem to email invoices with PDF attachments.
    I've gotten a few different errors but the most recurring seems to be:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 76 bytes) in /home/marcurse/public_html/invoices/library/pdf/css.property.handler.class.php on line 41

    I have also gotten a blank page and another error that I failed to copy to paste it here.

    phpinfo() tells me that I have GD2 support and that my memory_limit is set to 32Mb and the SI documentation says that it needs to be set to 24Mb so I guess I am covered. Why else would it not work?

  • justinjustin February 2010

    hey marcnyc

    edit php.ini and set memory_limit to something higher ie. 64M or more and retry

    depending on servers etc.. different memory_limits are required

    let us know how you go

    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