[TYPO3-english] help with webkitpdf
De Contardi Riccardo
Riccardo.DeContardi at bhuman.it
Mon Jan 18 13:20:19 CET 2010
Hello everybody.
Could someone help me with the extension webkitpdf ? There's very little
documentation online :-(
I've followed this steps:
1. installed the extension
2. created a page (UID=120) and added the plugin within (BTW:: The
plugin has a "startingpoint" record. What should I put here? The manual
does not mention it! )
3. added in my TS Template:
includeLibs.webkit = EXT:webkitpdf/res/user_webkitpdf.php
lib.pdf = USER
lib.pdf.userFunc = user_webkitpdf->user_getPDFLink
lib.pdf {
pid = 120
linkText = TEXT
linkText.value = PRINT TO PDF
}
This generates a link "PRINT TO PDF" with the following URL:
http://typo3.beginp1/print-to-pdf/?no_cache=1&tx_webkitpdf_pi1%5Burls%5D
%5B0%5D=http%3A%2F%2Ftypo3.beginp1%2F
When I click on it, it goes to page 120 with some errors on header:
Warning: filesize() [function.filesize
<http://typo3.beginp1/print-to-pdf/function.filesize> ]: stat failed for
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3temp/tx_webkitpdf/4c72e
935726faa8c819bae5510bc09722377468d.pdf in
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3conf/ext/webkitpdf/pi1/
class.tx_webkitpdf_pi1.php on line 145
Warning: Cannot modify header information - headers already sent by
(output started at
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3conf/ext/webkitpdf/pi1/
class.tx_webkitpdf_pi1.php:145) in
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3conf/ext/webkitpdf/pi1/
class.tx_webkitpdf_pi1.php on line 147
Warning: Cannot modify header information - headers already sent by
(output started at
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3conf/ext/webkitpdf/pi1/
class.tx_webkitpdf_pi1.php:145) in
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3conf/ext/webkitpdf/pi1/
class.tx_webkitpdf_pi1.php on line 148
Warning: Cannot modify header information - headers already sent by
(output started at
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3conf/ext/webkitpdf/pi1/
class.tx_webkitpdf_pi1.php:145) in
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3conf/ext/webkitpdf/pi1/
class.tx_webkitpdf_pi1.php on line 149
Warning: Cannot modify header information - headers already sent by
(output started at
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3conf/ext/webkitpdf/pi1/
class.tx_webkitpdf_pi1.php:145) in
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3conf/ext/webkitpdf/pi1/
class.tx_webkitpdf_pi1.php on line 150
Warning:
readfile(/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3temp/tx_webkit
pdf/4c72e935726faa8c819bae5510bc09722377468d.pdf) [function.readfile
<http://typo3.beginp1/print-to-pdf/function.readfile> ]: failed to open
stream: No such file or directory in
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3conf/ext/webkitpdf/pi1/
class.tx_webkitpdf_pi1.php on line 151
Warning: Cannot modify header information - headers already sent by
(output started at
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3conf/ext/webkitpdf/pi1/
class.tx_webkitpdf_pi1.php:145) in
/usr/share/typo3/typo3_src-4.2.11/typo3/sysext/cms/tslib/class.tslib_fe.
php on line 3229
Warning: Cannot modify header information - headers already sent by
(output started at
/vol01/lib/typo3-sites/dummy-4.2.10_beginp1/typo3conf/ext/webkitpdf/pi1/
class.tx_webkitpdf_pi1.php:145) in
/usr/share/typo3/typo3_src-4.2.11/typo3/sysext/cms/tslib/class.tslib_fe.
php on line 3242
The only thing I've found about this errors is that they could be
generated by a too low GLIBC version, but as far as I can see, my GLIBC
version is 2.7-1
Kind regards
**************************************
Riccardo De Contardi
B Human Srl - www.bhuman.it
<file:///C:\Documents%20and%20Settings\riccardo.decontardi\Dati%20applic
azioni\Microsoft\Firme%20elettroniche\www.bhuman.it>
Via Canzio, 15 - 20131 Milano
Tel +39.02 20 23 271 - Fax +39.02 20 240 561
Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.
The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.
More information about the TYPO3-english
mailing list