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 <[email protected]> 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
