[TYPO3] problem with pdf_generator2
Andreas Balzer
eMail at andreas-balzer.de
Sun Apr 2 21:56:39 CEST 2006
Jens Ellerbrock schrieb:
> Hi,
>
> can you please try replacing "/tmp" with WRITER_TEMPDIR (without quotes)
> in all places where this error pops up (everywhere where tempnam is used
> in output.fpdf.class.php ) . The resulting line should look like:
>
> $tmpname = tempnam(WRITER_TEMPDIE,"IMG");
>
> afterwards.
>
> Please let me know if this works and i'll implement it for the next
> version (or let me know if i shall build a developrer version for you to
> try out if you want to avoid editing the file by yourself).
>
> Jens
>
> Andreas Balzer wrote:
>> Hi! I get the following error in FE when trying to open a static page
>> with pagetype 123:
>>
>> Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is
>> not within the allowed path(s):
>> (/home/www/kunden/ess-erfurt.de:/usr/share/pear:/tmp/php:/usr/bin) in
>> /home/www/kunden/ess-erfurt.de/contents/typo3conf/ext/pdf_generator2/html2pdf/output.fpdf.class.php
>> on line 273
>>
>> Warning: imagepng(): Invalid filename '' in
>> /home/www/kunden/ess-erfurt.de/contents/typo3conf/ext/pdf_generator2/html2pdf/output.fpdf.class.php
>> on line 274
>> FPDF error: Can't open image file:
>>
>> What do i have to do?
since i installed it on a production server *:-/ :)* i can try it
tomorrow (i have to set up some templates on my dev server first)
Greets
Andreas
More information about the TYPO3-english
mailing list