Monday, December 29, 2008

Re: TCPDF error: Some data has already been output, can't send PDF file

I'm guessing you are using the Auth component and perhaps you are
getting redirected to the login page?

Is your PDF supposed to be happening on your /users/login page?

A 302 HTML header means it is attempting a redirect.

On Dec 29, 1:08 pm, BrianRehg <brianr...@gmail.com> wrote:
> When I look at the headers this is being sent:
> HTTP/1.1 302 Found
> Date: Mon, 29 Dec 2008 20:56:26 GMT
> Server: Apache/2.2.3 (CentOS)
> X-Powered-By: PHP/5.2.6
> Set-Cookie: CAKEPHP=mrhdqb3hslfrktbbvvf5iobds2; path=/
> P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
> Location:http://agc.########.com:80/users/login
> Content-Length: 553
> Connection: close
> Content-Type: text/html; charset=UTF-8
>
> Any suggestions what is generating this?
>
> Thanks,
>   Brian
>
> On Dec 22, 1:08 pm, BrianRehg <brianr...@gmail.com> wrote:
>
> > PDF error when usingTCPDF. I see several post on this and no real
> > solution for tracking down this issue. How can I track down what is
> > being sent to the screen. I have tried it with debug off and debug on
> > and same error : Some data has already been output, can't send PDF
> > file.
> > Any suggestions please?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: