user "lorenzo" resolved my problem
http://ask.cakephp.org/questions/view/pdf_output_issue_after_upgrading_to_2_0-dev
i used
$this->response->type("pdf")
instead of
header("Content-type: application/pdf")
On 12 Gen, 16:41, Ernesto wrote:
> update:
>
> Opera and Firefox can't open my PDF while
update:
Opera and Firefox can't open my PDF while IE8 does it flawlessly (lol)
i bet this is a header/render issue
On 11 Gen, 12:03, Ernesto wrote:
> Hi all
>
> i just upgraded to 2.0-dev
> the only big problem i'm encountering are on-the-fly generated PDFs
> i'll use one of my views as example
Hi all
i just upgraded to 2.0-dev
the only big problem i'm encountering are on-the-fly generated PDFs
i'll use one of my views as example
model/controller: this is a PageController action, without data and
without model. it just changes the layout from "default" to "pdf"
PdfHelper: that's a simp