Home Features Pricing Support Contact
Search:     Advanced search

Unable to export test file

Article ID: 337
Last updated: 06 Mar, 2012

Error message/code:

Unable to export test file. HTMLDOC exits with the code (1 - HTMLDOC(13501) INFO: HTMLDOC 1.8.27 starting in CGI mode... )

Description:

Starting with v1.8.24, HTMLDOC now provides a native "CGI" mode which allows it to handle HTML-to-PDF conversion requests directly. This mode may cause problems with some scripting language as PHP.

Solution:

To disable the CGI mode, set the HTMLDOC_NOCGI environment variable before invoking the HTMLDOC program using the following command:
SetEnv HTMLDOC_NOCGI yes
You can set this environment variable in .htaccess file or globally in your httpd.conf file (for Apache) or in the system environment (for IIS).

Article ID: 337
Last updated: 06 Mar, 2012
Revision: 2
Views: 4100
Comments: 0
Print Export to PDF Subscribe Share Add comment
This article was:   Helpful | Not helpful
Prev   Next
Error codes, messages     SMTP Error: Data not accepted.