[TYPO3-german] pdf_generator2 memory_limit

Steffen Nothacker steffen.nothacker at tuebingen.mpg.de
Wed Dec 16 17:32:03 CET 2009


Hallo,
habe mit pdf_generator2 probleme:

1.
*Fatal error*: Allowed memory size of 138412032 bytes exhausted (tried 
to allocate 77 bytes) in 
*/var/www/hirnforschung/typo3conf/ext/pdf_generator2/html2ps/css.margin.inc.php* 
on line *9

*ich habe das memory_limit inzwischen auf 132M... das kann doch nicht 
normal sein, dass eine 100KB pdf 132M memory braucht...
kleine seiten gehen, sobald es mehr wie eine pdf seite wird klappts nicht

2.
ich kann eine pdf nur einmal genieren. wenn ich danach auf pdf drücke, 
bekomme ich eine defekte pdf file. sobald ich den cache leere, kann ich 
die pdf wieder 1x generieren.


Hier mal was ich gemacht habe:

Setup:
page.10.marks{
PDF = TEXT
PDF {
    value = <img src="fileadmin/template/main/images/acrobat.jpg" 
border="0" alt="PDF dieser Seiter erstellen" />
    postUserFunc = tx_pdfgenerator2->makePdfLink
    postUserFunc.include_post_vars = 1
    postUserFunc.target = _blank
    postUserFunc.filename = print.pdf
   }
}

Konstanten:
pdf_generator2 {
size = A4
top = 5
bottom = 5
left = 5
right = 5
no_links = 1
}

localconf:(unter real url)
'print.pdf' => array(
                      'keyValues' => array(
                    'type' => '123',
                 )
              ),


Vielen Dank schonmal, für eure Hilfe!

Steffen


More information about the TYPO3-german mailing list