nklsf, which version of apache and php are you using?
-
☆ A M B ☆
- 2,475 Posts
Does this apply to Revo 2.0.0-pl? The need to create a *mostly* empty template isn’t optimal.... is this something that will be changed later? In my mind, if I have a content disposition of "Attachment" and a content type of PDF, then that should make the template arbitrary, because I’d expect custom headers to be sent that would bypass anything in the template. Or is it the action of rendering a template that actually causes the headers to be generated and sent?
I’m also experiencing this issue.
A Static Resource with a PDF Content Type (mime = application/pdf, ext = .pdf, binary = checked) returns the modx error page set in my System Settings.
If I uncheck binary, a link to the resource will start the PDF download but the resulting download is corrupt.
Currently, I’m just linking directly to the pdf asset instead of the resource.
In there any update on this?
Linux 2.6.32.8-grsec-2.1.14-modsign-xeon-64, PHP 5.2.14, MySQL 5.0.51a(client) 5.1.39-log (server), --with-pdo-mysql, Firefox/3.6.12
Linux 2.6.32.8-grsec-2.1.14-modsign-xeon-64, PHP 5.2.14, MySQL 5.0.51a(client) 5.1.39-log (server), --with-pdo-mysql, Firefox/3.6.12