Menu

#1235 tpdf error

phpGedView
closed-works-for-me
None
5
2022-06-07
2022-06-06
No

Consider adding to class_reportpdf sth like this:

142a143
>                       ob_end_clean();
144a146
>                       ob_end_clean();

Without it, trying reportengine with output=PDF ends with: "Some data has already been output" (at least on my system PHP 7.4.28-1+deb11u1).
(but it's widely known problem with this package and people usually deal with it this way)

Discussion

  • Gerry Kroll

    Gerry Kroll - 2022-06-06

    Which report exhibits this problem?

    On my system (PHP 7.4.29) I don't see this, no matter whether I'm logged in or not. However, I only tried the Birth Date & Place and Ahnentafel reports, and only in English.

     
    • Krzysztof Jastrzębski

      Strange thing, I commented out these lines (added some days ago) and today works without this "improvement". (but belive me: problem really took place)
      So 1235 can be closed I think...

       
  • Gerry Kroll

    Gerry Kroll - 2022-06-07
    • status: open --> closed-works-for-me
    • assigned_to: Gerry Kroll
     
  • Gerry Kroll

    Gerry Kroll - 2022-06-07

    Sometimes errors that make no sense can be eliminated by clearing the browser's cache.

     

Log in to post a comment.