Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
3.9.2
-
None
Description
Hi ,
Pdf hanfler (in kernel/content/pdf.php) is using filesize() php function to compute size of file when taking file from cache (function contentPDFPassthrough) but this function don't work with non-physical file (because of ezdb cluster).
As a consequence, pdf view is empty.
to resolve this temporarily , I bypass the pdf caching passthrough whit a redirect and i add a rule into apache rewriting:
Rewriterule ^/var/([^/]+/)?cache/.* /index_cluster.php [L]
function contentPDFPassthrough( $cacheFile )
{
header(
"Location: http://www.gpdis.com/".$cacheFile);
Steps to reproduce
Generate Pdf on the fly whith cluster handler ezdb
Attachments
Issue Links
- relates to
-
EZP-11013 PDF-view needs to be made cluster-aware.
- Closed