Search Engine: Elastic

Article ID: 117290, created on Sep 16, 2013, last review on Jul 14, 2018

  • Applies to:
  • Business Automation


Attempt to download PDF version of the AR Document (invoice, payment, etc) fails with an error:

"Error on executing external command: <pdf_conversion_command>"

In the MESSAGE.log file on the PBA Application Server (a.k.a. PBA Management Node) there is an exception:

PHP Notice:  Undefined index:  scalepoints in /usr/local/html2pdf/pipeline.class.php on line 649
Cannot open
PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /usr/local/html2pdf/ on line 30
...[1] *** INTERRUPTED BY EXCEPTION *** virtual RealBlob bEmailMessage::convertHTML2PDF(Str)


PHP settings do not meet the requirements for PDF generation to complete - 30 seconds is not enough to generate some big PDF documents (e.g. the reseller's invoices consisting of many details).


Increase the max_execution_time parameter in the php.ini file on the PBA Application Server:

  1. Find the php.ini that is used by the system:

    php -i |grep php.ini
  2. Edit the max_execution_time parameter value in the php.ini.

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF