• This topic has prefixes assigned
Viewing 3 posts - 1 through 3 (of 3 total)
Author
Posts
  • #8470

    I am getting this error when I view any fan chart. The chart displays, but generates an error.

    ERROR 2: Cannot modify header information – headers already sent by (output started at /home/gowland/public_html/kiwitrees/library/WT/Controller/Fanchart.php:1);

    Penguins Are  Boss

    https://bootesgowland.kiwitrees.net

    Happy to be hosted by kiwitrees.net

  • #8471

    I can’t reproduce that myself. Could you email me access to your site so I can take a close look ?

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #8479

    Thanks for the access codes. I now see the problem. An annoying little mistake (mine, of course). The clue was in the error message: “…./Fanchart.php:1”, meaning the very first line of that file. That is simply:

     <?php

    It should be:

    <?php

    See the difference? I wouldn’t be surprised if you don’t. The second doesn’t have a tiny single space at the start. That is sufficient on some PHP configurations to prevent sending subsequent headers, or making the system think they’ve already been sent once. Hence your issue, but it not showing on my system. It’s a simple error, and one I know well enough to avoid – normally!!

    Replacement copy of kiwitrees/library/WT/Controller/Fanchart.php attached.

    Nigel
    My personal kiwitrees site is www.our-families.info
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Fan Chart’ is closed to new replies.