Page 1 of 1

Problem: Two Colours Theme and Guestbook

Posted: Mon Oct 30, 2006 1:38 pm
by fwe77
Hello together,

I have a problem with the combination Two Colours Theme and Guestbook!

If the guestbook is active and I liked to answer to an article, the following error message comes:

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /homepages/***/blog/templates_c/costa-two_colours_theme^%%26^26D^26DF3B66%%index.tpl.php:9) in /homepages/***/blog/plugins/serendipity_event_guestbook/serendipity_event_guestbook.php on line 328

Warning: Cannot modify header information - headers already sent by (output started at /homepages/***/blog/templates_c/costa-two_colours_theme^%%26^26D^26DF3B66%%index.tpl.php:9) in /homepages/***/blog/plugins/serendipity_event_guestbook/serendipity_event_guestbook.php on line 329

Warning: Cannot modify header information - headers already sent by (output started at /homepages/***/blog/templates_c/costa-two_colours_theme^%%26^26D^26DF3B66%%index.tpl.php:9) in /homepages/***/blog/plugins/serendipity_event_guestbook/serendipity_event_guestbook.php on line 336
http://www.kschiwan.de/blog/index.php

Someone an idea?

Greeting. Frank.

Re: Problem: Two Colours Theme and Guestbook

Posted: Mon Oct 30, 2006 2:54 pm
by garvinhicking
Hi!

Accidentaly the 2.1 version of the guestbook plugins contains some extra debug output. You can edit the plugin file and remove all header() calls except the one that gives you header('HTTP/1.0 200'). All the other headers are not required.

I also committed this change to version 2.2 of the plugin.

Best regards,
Garvin

Posted: Mon Oct 30, 2006 3:17 pm
by fwe77
Hi Garvin,

many thanks! Exactly that was it!

Greeting. Frank.

Posted: Mon Oct 30, 2006 3:41 pm
by Col. Kurtz
I have a similar problem with the Hemingway theme. See my other thread for details. Ill check out this solution later.