Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dinamiko

    (@dinamiko)

    Hi drojkind,

    besides the 500 error, keep in mind that DK PDF just prints the content, so if you’re using custom fields, all of them (Precio, Tipo…) are not going to be printed in the PDF untill you do a template customization, see more on template customization here:

    https://wp.dinamiko.com/demos/dkpdf/doc/how-to-use-dk-pdf-templates-in-your-theme/

    I did a similar customization for a client recently, click Download PDF button (slide, bottom right) to see the generated PDF:

    https://comasrealestate.com/immoble/penthouse-in-blanes-with-bay-views/

    what I did was copy dkpdf-index.php template from ‘templates’ folder and paste it to the theme in a folder ‘dkpdf’, then I got the custom fields values, images… and I did a template customization using these values.

    As for the 500 error, honestly I’ve no idea, but can be a PHP memory error or some kind of PHP error. I’m going to need more info about this, thanks.

    Just for trying, download the PDF directy instead of open it in a window to see if the error persist:
    In DK PDF / PDF Button / Action change Open PDF in new Window to Download PDF directly.

    Best.

    Plugin Author dinamiko

    (@dinamiko)

    Hi there,

    the 500 error was solved by increasing memory_limit from 32 to 128 in php.ini.

    Best.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error 500’ is closed to new replies.