PDF generator ko after server migration

Hello, i haved change server for my Suite CRM. I have reinstall all recommanded packages and it’s ok for all modules execpt pdf generator.

In the new server, when i generate a news quote or invoice, i obtain a pdf but only text and color. I have not pictures or logos.
I have edit my model and i look pictures and logo. But, in the PDF, i have a red cross…
I have check all permissions, i have purge cache and repair by tools in suite crm…

When i check log in my server, i have many error by mPDF (1000 lines) : Exemples :
PHP Notice: Undefined index: outline-s in /home/sites/crm.client.fr/modules/AOS_PDF_Templates/PDF_Lib/mpdf.php on line 3892, referer: http://crm.client.fr/index.php?action=ajaxui
[Mon Sep 24 11:28:28.147962 2018] [:error] [pid 26012] [client 0.0.0.0:46119] PHP Notice: Undefined offset: 2 in /home/sites/crm.client.fr/modules/AOS_PDF_Templates/PDF_Lib/mpdf.php on line 26577, referer: http://crm.client.fr/index.php?action=ajaxui
[Mon Sep 24 11:28:28.148069 2018] [:error] [pid 26012] [client 0.0.0.0:46119] PHP Notice: Undefined index: outline-s in /home/sites/crm.client.fr/modules/AOS_PDF_Templates/PDF_Lib/mpdf.php on line 3892, referer: http://crm.client.fr/index.php?action=ajaxui
[Mon Sep 24 11:28:28.149256 2018] [:error] [pid 26012] [client 0.0.0.0:46119] PHP Notice: Undefined property: mPDF::$hasOC in /home/sites/crm.client.fr/modules/AOS_PDF_Templates/PDF_Lib/mpdf.php on line 27510, referer: http://crm.client.fr/index.php?action=ajaxui
[Mon Sep 24 11:28:28.198097 2018] [:error] [pid 26012] [client 0.0.0.0:46119] PHP Notice: Undefined property: mPDF::$hasOC in /home/sites/crm.client.fr/modules/AOS_PDF_Templates/PDF_Lib/mpdf.php on line 27613, referer: http://crm.client.fr/index.php?action=ajaxui
[Mon Sep 24 11:28:28.198171 2018] [:error] [pid 26012] [client 0.0.0.0:46119] PHP Notice: Undefined property: mPDF::$hasOC in /home/sites/crm.client.fr/modules/AOS_PDF_Templates/PDF_Lib/mpdf.php on line 9162, referer: http://crm.client.fr/index.php?action=ajaxui

crm.client.fr : I have replace my url by client.
IP : 0.0.0.0.0 : I have replace my ip by 0.0.0.0

Thanks for your help ! And sorry for my bad english.

What is your SuiteCRM version? And PHP?

What do you mean by this: “I have reinstall all recommanded packages”. Exactly how did you try this?

Hello,

Version PHP : PHP 7.0.30-0+deb9u1 (cli) (built: Jun 14 2018 13:50:25) ( NTS )
Suite CRM version : Version 7.10.7 - Sugar Version 6.5.25 (version de construction 344)

For package installating prerequis : https://docs.suitecrm.com/admin/installation-guide/downloading--installing/

Thanks for your help.

I thinks that just a generator of pictures who are broken.
But i have verif in php that gd module is activated, zlib module is activated.

I have realize a update of version of Suite Crm with the 7.10.9 version. It’s the same.

Thanks for your help.

And when you go directly in the Email Templates module, and check your Quotes template, does it look correct there? If you remove the pictures and add them again, does that fix the problem?

Finaly, i have find solution. I have reupload an image, save the model and after, it’s ok… invoice or Quote are printing with logo.

Thanks for your help.

Probably, in the migration, you didn’t migrate the images, or they went to a different place, or the permissions on the files weren’t working well.