Tuesday, August 24, 2010

Re: pdf generation problem

Sorry

My Problem is Not that

I am getting Correct Output while echoing $htmlcontent

But After Commenting echo
in pdf it's not getting

please help...........
--------------------------------------------------------------------
Miqdad Ali




On Thu, Aug 19, 2010 at 9:30 PM, cricket <zijn.digital@gmail.com> wrote:
It looks like the problem is that the server is sending data to the browser before the PDF can be rendered. This is similar to the "headers already sent" error. This is probably due to you echoing the $htmlcontent. If you don't do that, do you still see the same error msg ("some data has already been output")? If so, check that none of your files have whitespace after the closing "?>" tag. That includes AppController, AppModel, routes, etc.


On Thu, Aug 19, 2010 at 8:12 AM, Miqdad Ali <mr.miqdad.ali@gmail.com> wrote:
Hi friends
         I am Creating pdf using tcpdf class and its for a timetable . my view is having 4000 lines of code.. it created by previous employee and he passed away,and pdf is not getting but while i am echo $htmlcontent it's showing correct out put but pdf not getting.
I am attaching two files
           one is screen shot of echo $htmlcontent
           one is pdf file

please anybody help
today is the last date.....

I hope some one will help me

--------------------------------------------------------------------
Miqdad Ali



Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
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

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
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

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
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: