[TYPO3-english] pdf generator2 gives blank page

J. Bakshi joydeep at infoservices.in
Thu Feb 26 12:10:58 CET 2009


J. Bakshi wrote:
> Lee Perry wrote:
>   
>> Hi J.
>>
>> J. Bakshi schrieb:
>>   
>>     
>>> Memory allocation is 128MB in php.ini  *But still* pdf-generator
>>> provides blank page.
>>> What else should I check to meke it working ?
>>>     
>>>       
>> What do you get exactly? A blank html page or a blank PDF page? Or any 
>> error message?
>>
>> If you get a blank HTML page without any error message, than there could 
>> be an error but your error messaging is disabled and so you will get a 
>> blank HTML page. So please enable the error messaging to get the 
>> potential error information.
>>
>> If you get a blank PDF page, only - maybe all content of the page is 
>> inserted by Typoscript objects without any content element. Try a simple 
>> page with some text elements (CE) and with the standard configuration of 
>> pdf_generator_2 you will get the PDF by the URL of this page with 
>> parameter "type=123".
>>
>> Greetings,
>> Lee
>>
>>   
>>     
>
> Hello Lee and Steffen,
>
> Thanks for your reply.
>
> I am still suffering with the same issue.  I have got a blank pdf page
> and without any error. I'm providing more info here so that it would be
> easier to find out the problem.
>
> .htaccess for testing pdf generator
> -----------------------------------------------------
> php_value max_execution_time 600
> php_value max_input_time 600
> php_flag display_startup_errors on
> php_flag display_errors on
> php_flag html_errors on
>
>
> typo3 constant part
> -----------------------------------------------
> pdf_generator2.top = 30
> pdf_generator2.bottom = 20
> pdf_generator2.left = 0
> pdf_generator2.right = 0
>
> typo3 setup
> -----------------------------------------------
> pdf_generator.stylesheet = fileadmin/template/css/pdfversion.css
> pdf_generator.50 = COA
> pdf_generator.50.5 = HTML
> pdf_generator.50.5.value (
> <html>
> <head>
> <base href="http://localhost/mysite/" />
> <link rel="stylesheet" type="text/css" media="all"
> href="fileadmin/template/css/pdfversion.css">
> </head>
> <body>
> <div id="pdfheader"></div>
> <div id="body">
> )
> pdf_generator.50.10 = CONTENT
> pdf_generator.50.10 < styles.content.get
> pdf_generator.50.15 = HTML
> pdf_generator.50.15.value (
> </div>
> <div style="position: fixed;top:-100px;left: 0;width: 200px;height:
> 80px;" id="pdffooter"><img src="fileadmin/template/images/pdfLogo.png"
> /></div>
> </body>
> </html>
> )
>
> realurl is enabled
> -------------------------
>
> Now with in the browser (firefox) If I change a link to pdf like
> http://localhost/mysite/contact.pdf it gives a blank page without any
> error. Even there is no error in the apache log. Please note the page
> http://localhost/mysite/contact.html has content.
>
> any clue ?
> Thanks
>   

By the way, have I missed any required package ?

html2ps is installed in the linux server.
pdflib fonts extension is already installed.

anything else I missed ?

Kindly enlighten me.

Thanks
>
>   
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>   
>>     
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>   



More information about the TYPO3-english mailing list