Home Forums Support PDF-generation fails with PhantomJSCloud-error

This topic contains 5 replies, has 2 voices, and was last updated by  Hillel Coren 3 years, 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2409

    roman_at_swissix
    Participant

    Anybody else having problems with generating PDFs?

    
    [2016-02-24 20:19:09] production.ERROR: PhantomJSCloud - failed to create pdf:
    502 Server Error
    Error: Server Error
    The server encountered a temporary error and could not complete your request.Please try again in 30 seconds.
    
    #2410

    Hillel Coren
    Keymaster

    We were seeing the same problem, this should be fixed in the latest release (v2.5.0.3).

    #2411

    Hillel Coren
    Keymaster

    If you don’t want to update you can fix it by copying over the getPDFString function from the end of the file.

    https://github.com/invoiceninja/invoiceninja/blob/master/app/Models/Invoice.php

    #2412

    roman_at_swissix
    Participant

    Hello Hillel
    Will try to copy over the function. Thx!
    Regards
    Roman

    #2415

    roman_at_swissix
    Participant

    Hello Hillel
    The new function is confirmed working.
    Regards
    Roman

    #2416

    Hillel Coren
    Keymaster

    Great, thanks for letting us know!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Posted in: