Default Download PDF in Quotes is not working in 10.2 SugarCRM Instance

Hi Everyone,

We have installed Sugar 10.2 Developer builds on our server. We are facing issues while downloading the download PDF in the Quotes module.

Not able to download on any 10.2 Sugar Instance installed on our servers.

While trying to download getting an error in Sugarcrm.log file like TCPDF error  - Some data has been already Output,cant sent data file.

Attaching the screenshots for more information.

I am just wondering is this expected behavior in Sugar 10.2 or any Bug.

Would be great and helpful, if any of the team or SugarTeam has some solution for this. Many Thanks in Advance.

Parents
  • The error here is that tcpdf is using a deprecated each function in line 11060 (as seen in the screenshot).

    And looks like you're printing HTML errors and your error_reporting flag is either E_ALL or not excluding E_DEPRECATED in your php.ini.

    One quick solution is to ignore E_DEPRECATED:

    error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT


    Of course - this is just a temporary solution :), the permanent solution is for Sugar Dev team to upgrade tcpdf version.

Reply
  • The error here is that tcpdf is using a deprecated each function in line 11060 (as seen in the screenshot).

    And looks like you're printing HTML errors and your error_reporting flag is either E_ALL or not excluding E_DEPRECATED in your php.ini.

    One quick solution is to ignore E_DEPRECATED:

    error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT


    Of course - this is just a temporary solution :), the permanent solution is for Sugar Dev team to upgrade tcpdf version.

Children