简体   繁体   English

TYPO3 EXT:webkitpdf无法呈现PDF文件

[英]TYPO3 EXT:webkitpdf does not render PDF file

Using EXT:webkitpdf with TYPO3 7.6 worked very well. 在TYPO3 7.6中使用EXT:webkitpdf效果很好。 But "suddenly" the PDFs were corrupted or no PDF file was written (just empty temp-files). 但是“突然” PDF损坏或没有写入PDF文件(只是空的临时文件)。 There is also no entry in the EXT:webkitpdf-Log. EXT:webkitpdf-Log中也没有任何条目。

After some investitgation I found this in my TYPO3-error-Log: 经过一番调查后,我在TYPO3错误日志中发现了这一点:

10-02-17 12:49 - core: Core: Error handler (FE): PHP Warning: Cannot modify header information - headers already sent in /is/htdocs/wpXXXXXXXXX/www/typo3_sources/typo3_src-7.6.13/typo3/sysext/frontend/Classes/Utility/CompressionUtility.php line 54 10-02-17 12:49-核心:核心:错误处理程序(FE):PHP警告:无法修改标头信息-已在/is/htdocs/wpXXXXXXXXX/www/typo3_sources/typo3_src-7.6.13/typo3/中发送的标头sysext / frontend / Classes / Utility / CompressionUtility.php第54行

Okay, it's the FE:compression! 好的,这是FE:压缩!

After turning off [FE][compressionLevel]=0 in InstallTool, all works fine again! 在InstallTool中关闭[FE] [compressionLevel] = 0后,一切正常!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM