Saving Issues

3 posts by 3 authors in: Forums > CMS Builder
Last Post: June 14, 2022   (RSS)

By gkornbluth - June 3, 2022

Hi Jason,

Have you tried upgrading to the latest create PDF plugin (1.09) and is your CMS Builder up to date? (3.56), which requires PHP 7.3+ and MySQL 5.5+

That's usually a good place to start.

Sometimes newer PHP versions can cause issues with older software 

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By daniel - June 14, 2022

Hi Jason,

Given that the 500 error happens both while saving records and while clicking the link in the CreatePDF plugin, my first thought would be something to do with the server configuration. Have you moved/updated servers recently, or perhaps installed any new security tools? The "Server Info" section under Admin Menu > General Settings will check for and list some common PHP security modules if they are detected.

Regarding the CreatePDF Error, I found some info about this and related errors with the PDF generation library, and it sounds like it's typically an issue in the content itself, related to images (or other assets) not being able to load correctly. 

https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1937

https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1855

A few things to try:

  • Check if you're using a <base> tag in the HTML being used to generate the PDF - this could be causing issues
  • Make sure all assets (images, stylesheets, script files, etc.) are functioning and have appropriate extensions (.jpg, .css, .js, etc.)

Let me know if that helps, or if you have any questions!

Thanks,

Daniel
Technical Lead
interactivetools.com