hello everyone, as per the subject, I have a problem with PDF generation in SuiteCRM 8.4.2, the blank page appears and no error in the suite log, but only in the apache one:
search for the file mpdf.php that it does not find because it does not exist, I know that suite8 no longer uses mpdf but tcpdf, but I wonder, since this is a non-customized module, how is it possible that there is this line in
how can I solve the problem?
To get to 8.4.2 I followed the upgrade instructions from version 7.14, the installation went quite well, except for some small problems and this PDF.
@pgr my problem concerns suitecrm 8 and does not refer to warning… it is right that it goes into error because the mpdf.php file does not exist in suitecrm 8, but I do not understand why a suitecrm file refers to a file that does not exist and goes into error with a blank page, I do not know how much modifying the display_error can solve
I read the post better… I went to admin and pdf settings, in the drop-down menu there is only the TCPDF choice (already selected), I selected it again and saved.
Now the white page no longer appears and the PDF appears, but the display is completely distorted.
In config.php:
You may have to adapt the template contents to the new PDF engine. Maybe that’s what you mean by distorted? It’s rendering differently - but it should be fixable with some effort. I don’t know how to advise in this effort, sorry, I’ve never tried it