Closed (fixed)
Project:
Views PDF
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2012 at 19:20 UTC
Updated:
6 Mar 2013 at 08:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
webroru commentedjust two weeks ago, worked perfectly, but today saw the exact same error.
Comment #2
webroru commentedI turned off the module "views_hack" and the error disappeared.
Comment #3
emicoma commentedThanks for the answer, I use views_hack too.
I'll try when back from vacation
Comment #4
emicoma commentedhave you found a way to havec views pdf and selective filters work together ?
Comment #5
webroru commentedUnfortunately, selective filters did not work for me, so the views hack I did not include.
Comment #6
drupadawan commentedI am having the same problem, need to use the views pdf module (it's exactly what I was searching for) but get the a blank page with only 'TCPDF ERROR: Some data has already been output, can't send PDF file' in black text..
Just made a pdf page for a view that lists entities (created with the entity form module)
EDIT: disabled a custom module (that created 2 entities) and now it works.
Comment #7
farald commentedHey!
I have this problem on an fairly complex commerce install. Is there any way to bugtrack where it's coming from?
Comment #8
farald commentedHere's a patch that adds ob_clean right before the ouput is returned, effectively cleaning the output buffer from stuff that might come from other modules.
Comment #9
jibize commentedPatch on #8 worked for me.
Thank you farald!
Comment #10
multpix commentedPatch on #8 worked for me too :)
senks
Comment #11
damatmadeforcom commentedPatch on #8 worked as well for me.
Merci Farald.
Comment #12
nandwabee commentedPatch on #8 worked for me too but I get a blank page. Let me try and fix my issues here. Thank you so much Farald
Comment #13
muschpusch commented#8 is simple and works fine!
Comment #14
zoraxSame thing as nandwabee in #12,
Now I have a blank page,
did you find a solution ?
I try with or whitout argument, just a title to print, nothing in the pdf...
Comment #15
nandwabee commentedHi Zorax,
The blank page is not really an error as i thought but rather its due to the positioning and formatting of the pdf fields.
Just click on the settings link next to PDF fields and this should clear up matters.
Of course you will need a lot of patience and adjustments to make things work.
Cheers
Comment #16
simon georges commentedSince there seems to be a consensus about this one, I've committed it. Thanks, everybody (especially farald)!