Home Features Pricing Support Contact

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).

This article was:   Helpful | Not helpful Report an issue


Article ID: 337
Last updated: 06 Mar, 2012
Revision: 2
Views: 4182
Comments: 0
print  Print email  Subscribe share  Share pool  Add to pool comment  Add comment
Prev     Next
Error codes, messages       SMTP Error: Data not accepted.