Am 20.08.2010 18:03, schrieb Thomas Wehr:
> Hallo Group
> 
> beim Aufruf von website.pdf
> erhalte ich folgende Ausgabe (Typo3 4.4.1 PDF-Generator 3.3.0):
> 
> ----
> HTMLDOC Problem:
> Htmldoc produced no pdf-output.
> Commandline:
> /usr/bin/htmldoc -v -t pdf13  --webpage -f
> /www/htdocs/w00cd842/typo3temp/hd_YLwGWZ -
> 2>/www/htdocs/w00cd842/typo3temp/se_qSD5Qw
> 
> 
> This is the (stderr) output of the htmldoc command without the
> htmldoc_append parameters:
> If you see no errors here please check your htmldoc_append parameters too.
> HTMLDOC(10660) INFO: HTMLDOC 1.8.27 starting in CGI mode.
> HTMLDOC(10660) INFO: TMPDIR is "(null)"
> HTMLDOC(10660) ERR005: PATH_INFO is not set in the environment!
> Can't open display:
> 
> 
> 
> ----
> 
> 
in
gen_pdf.php hinter Zeile 164 "  putenv("HTMLDOC_NOCGI=1");" eingefügt
(s.u.) zwang HTMLDOC nicht im cgi-Mode zu laufen und brachte die
gewünschte Ausgabe sieh Snipplet im Zusammenhang:


        //------------------------------------------
        // now pipe the html through htmldoc
        putenv("HTMLDOC_NOCGI=1");

        $tmpname = tempnam(getcwd().'/typo3temp', 'hd_');
        if ($parameters[no_popen]) {
                // replace path to images with the correct path since the html 
will
reside in typo3temp
        
$GLOBALS{TSFE}->content=preg_replace('/<img.*?src=\"(?!\/)/i','$0'.'../',$GLOBALS{TSFE}->content);





LG
Thomas Wehr

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an