Menu
Welcome, Guest
Username: Password: Remember me

TOPIC: pdf don't open

pdf don't open 1 week 3 days ago #89198

  • Fred456
  • Fred456's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Hi There,
I installed SuiteCrm on my windows10 computer.
I could create a sample pdf template and can export it correctly. But, the file can't be opened : "file not supported or damaged"...

I opened a pdf in a text editor and there are many warning messages...
<br />
<b>Warning</b>: Illegal string offset 'ID' in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\classes\cssmgr.php</b> on line <b>1248</b><br />
<br />
<b>Warning</b>: Cannot assign an empty string to a string offset in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\classes\cssmgr.php</b> on line <b>1248</b><br />
<br />
<b>Warning</b>: Illegal string offset 'ID' in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\classes\cssmgr.php</b> on line <b>1322</b><br />
<br />
<b>Warning</b>: Illegal string offset 'ID' in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\classes\cssmgr.php</b> on line <b>1326</b><br />
<br />
<b>Warning</b>: Illegal string offset 'ID' in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\classes\cssmgr.php</b> on line <b>1610</b><br />
<br />
<b>Warning</b>: Illegal string offset 'ID' in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\classes\cssmgr.php</b> on line <b>1614</b><br />
<br />
<b>Warning</b>: count(): Parameter must be an array or an object that implements Countable in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\mpdf.php</b> on line <b>1896</b><br />
<br />
<b>Warning</b>: opendir(D:/Xampp/htdocs/suitecrm/modules/AOS_PDF_Templates/PDF_Lib/tmp,D:/Xampp/htdocs/suitecrm/modules/AOS_PDF_Templates/PDF_Lib/tmp): Le fichier sp�cifi� est introuvable. (code: 2) in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\mpdf.php</b> on line <b>8516</b><br />
<br />
<b>Warning</b>: opendir(D:/Xampp/htdocs/suitecrm/modules/AOS_PDF_Templates/PDF_Lib/tmp): failed to open dir: No such file or directory in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\mpdf.php</b> on line <b>8516</b><br />
<br />
<b>Warning</b>: Illegal string offset 'ID' in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\classes\cssmgr.php</b> on line <b>1248</b><br />
<br />
<b>Warning</b>: Cannot assign an empty string to a string offset in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\classes\cssmgr.php</b> on line <b>1248</b><br />
<br />
<b>Warning</b>: Illegal string offset 'ID' in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\classes\cssmgr.php</b> on line <b>1322</b><br />
<br />
<b>Warning</b>: Illegal string offset 'ID' in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\classes\cssmgr.php</b> on line <b>1326</b><br />
<br />
<b>Warning</b>: Illegal string offset 'ID' in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\classes\cssmgr.php</b> on line <b>1610</b><br />
<br />
<b>Warning</b>: Illegal string offset 'ID' in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\classes\cssmgr.php</b> on line <b>1614</b><br />
<br />
<b>Warning</b>: count(): Parameter must be an array or an object that implements Countable in <b>D:\Xampp\htdocs\suitecrm\modules\AOS_PDF_Templates\PDF_Lib\mpdf.php</b> on line <b>1896</b><br />
%PDF-1.4
%âãÏÓ
The administrator has disabled public write access.

pdf don't open 1 week 3 days ago #89207

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 10932
  • Thank you received: 1635
  • Karma: 371
With XAMPP you always need to set "display_errors = Off" in your php.ini, otherwise lots of things break... don't forget to restart the web server afterwards.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
Last Edit: 1 week 3 days ago by pgr.
The administrator has disabled public write access.

pdf don't open 1 week 2 days ago #89246

  • Fred456
  • Fred456's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Yes ! It works fine !
Thank you !
The administrator has disabled public write access.
Time to create page: 0.059 seconds
Powered by Kunena Forum