You seem to have a slightly more recent version of HTMLDOC than we do (we have 1.8.23) but that should not make any difference.
The output you are describing is what htmldoc outputs when it gets invalid input. There are a couple of possibilities:
1) the 1.8.24 version has different parameters, and my script gives the wrong options. Unlikely since it is only a 3rd level change, but I'll upgrade and test.
2) the parameters at the top of the pdfreport.cgi script are invalid somehow. Please check the script has been configured right:
Code:
# Configure here
my( $HTMLDOC ) = "/usr/bin/htmldoc"; # location of htmldoc executable
my( $ROUTERSCGI ) = "/u01/www/cgi-bin/routers2.cgi"; # location of routers2.cgi
my( $WORKDIR ) = "/tmp"; # temporary work directory
my( $WEBROOT ) = "/u01/www/html"; # docroot for your web server
my( $CONFPATH ) = "/u01/mrtg/conf"; # default path for cfg files
these should be set to appropriate paths and locations for your system.
3) The directories are unwriteable
Make sure the web user can write to WORKDIR and WEBROOT.
4) Something else...
Are there any other indications as to the cause? Does the page have more text (maybe giving error messages?) other than what you give above? Can you also check the web server error log to seeif anything is being produced on stderr that may be of help?
Finally, of course it works here (else I would not have released it) but clearly it doesn't work everywhere. Can anyone who is using it successfully please let me know they configuration as confirmation?