Menu

Descendant report errors

Help
Lou Hurst
2010-01-09
2013-05-30
  • Lou Hurst

    Lou Hurst - 2010-01-09

    running PGV 4.2.3 on a linux box with Xampp 1.7.3

    Didn't see this addressed recently in Help, Patches or Bugs so I might have a local problem.

    When attempting to generate a descendancy report of 3 - * generations in PDF I receive the following error and a similar one for HTML but after the error report in HTML the report displays.

    PDF Error:  (Several lines of the first line, Strict Standards:  Creating . . . appear then the rest.  I removed all but the last)

    Strict Standards: Creating default object from empty value in /home/lou/public_html/pgv/includes/classes/class_reportbase.php on line 3729

    ERROR 2: Cannot modify header information - headers already sent by (output started at /home/lou/public_html/pgv/includes/classes/class_reportbase.php:3729)

    Warning: Cannot modify header information - headers already sent by (output started at /home/lou/public_html/pgv/includes/classes/class_reportbase.php:3729) in /home/lou/public_html/pgv/includes/classes/class_reportpdf.php on line 134

    ERROR 2: Cannot modify header information - headers already sent by (output started at /home/lou/public_html/pgv/includes/classes/class_reportbase.php:3729)

    Warning: Cannot modify header information - headers already sent by (output started at /home/lou/public_html/pgv/includes/classes/class_reportbase.php:3729) in /home/lou/public_html/pgv/includes/classes/class_reportpdf.php on line 135

    ERROR 2: Cannot modify header information - headers already sent by (output started at /home/lou/public_html/pgv/includes/classes/class_reportbase.php:3729)

    Warning: Cannot modify header information - headers already sent by (output started at /home/lou/public_html/pgv/includes/classes/class_reportbase.php:3729) in /home/lou/public_html/pgv/includes/classes/class_reportpdf.php on line 136
    TCPDF ERROR: Some data has already been output, can't send PDF file

    HTML error:  (25-30 lines of the following error followed by the report in HTML)

    Strict Standards: Creating default object from empty value in /home/lou/public_html/pgv/includes/classes/class_reportbase.php on line 3729

    Thanks much.

    Lou

     
  • Im

    Im - 2010-01-10

    Just quickly

    In your PHP ini file, you have the following or something like this:

    error_reporting  =  E_STRICT

    If you remove E_STRICT, restart your server, it goes away…

    -Im

     
  • Lou Hurst

    Lou Hurst - 2010-01-10

    This is interesting, haven't looked much in my php.ini file; that line is commented out already, there is no error reporting level at all.  As is a lot of the rest of the file - much more so than say the one on my webhost.  Maybe I need to uncomment something there or elsewhere?

    Lou

     
  • Lou Hurst

    Lou Hurst - 2010-01-10

    Right off the top, got it fixed by commenting out E_STRICT.

    Went nuts with this though because several sections are repeated twice in the Xampp php.ini file.  So "fixing" it in say line 203 does nothing since it repeats in say line 726.  The first instance of something is preceded by a verbose explanation, the second instance of the same is preceded by a short explanation.  And/or a couple contradictions - here's one,

    short_open_tag = Off
    ; XAMPP for Linux is currently old fashioned
    short_open_tag = On

    so which is it?  Short open tags off or on?  Not that it matters here since anything php works fairly well locally.

    Oh well, all is working so better not try fixing, eh?

    Lou

     
  • Greg Roach

    Greg Roach - 2010-01-10

    PGV does not use short-open-tags, so this setting is uninportant.

     

Log in to post a comment.