Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
does somebody knows this problem?
thanks
does somebody knows this problem?
thanks
Comments
Comment #1
bofrost CreditAttribution: bofrost commentedI do know the problem but have no solution until now.
Comment #2
mimichette CreditAttribution: mimichette commentedThe same issue has been solved here: Empty PDF is always generated
Comment #3
bofrost CreditAttribution: bofrost commentedI don't think so... that issue is for another problem.
That means this problem still exists.
Comment #4
splash112 CreditAttribution: splash112 commentedI had 2 extra pages on a 2 pages PDF (2 extra). Noticed that on the 4th page, page nr 3 was in the right top (instead of right bottom of page 4).
Disabling the page number got me a 3 page pdf.
btw, on the Drupal 6 version
Comment #5
bofrost CreditAttribution: bofrost commentedMaybe you should post your comment for the D6 Version?
Comment #6
bofrost CreditAttribution: bofrost commentedSo I invested yesterday a lot of time to search the bug. I am pretty sure that the problem is in the views_pdf_template.php and had something to do with the y position of the elements. I guess in the drawContent() function. Maybe this is helpful for anybody else. I must stop searching at this point...
Comment #7
Simon Georges CreditAttribution: Simon Georges commentedHi, did you try with the latest version?
Comment #8
killua99 CreditAttribution: killua99 commentedDear fellow Drupal enthusiasts,
I have set this issue to "Postponed (Maintainer needs more information)".
If not already done please add an issue summary and steps how to reproduce the problem.
And please read again, "Making an issue report".
Help about how to do this can be found on IRC and in the user groups.
After there is new information, please re-open the issue by changing the status to active.
--
This issue was edited with the help of Issue Helper
Comment #9
candelas CreditAttribution: candelas commentedi was getting a extra page because i had a field that was other view and had divs. in the translation from html to pdf divs they get some pixels extra (even if in css they dont have them) that make the program to create other page, even if you dont see it.
i got aware of it assigning background-color to all divs by css. maybe this is your problem.
i solved it by removing divs in the original view.
Comment #10
killua99 CreditAttribution: killua99 commentedPlease open a new issue if you still have this problem.