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

2009-01-02 Thread Webweave

You are getting redirected to the login page (probably because your
action is not in the allowed list).

Post your beforeFilter() so we can see what the problem is, but my
guess would be the same as robechar: you are being asked to login.

On Dec 29 2008, 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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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

2008-12-29 Thread BrianRehg

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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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

2008-12-29 Thread robechar

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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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

2008-12-29 Thread Dr. Loboto

Check your PHP non-view files (components, models, controllers, etc)
for any whitespace before and after ?php ... ? tags. Remove them if
exist - it is common PHP problem.

On Dec 23, 1:08 am, BrianRehg brianr...@gmail.com wrote:
 PDF error when using TCPDF. 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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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

2008-12-22 Thread BrianRehg

PDF error when using TCPDF. 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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---