Problem: Two Colours Theme and Guestbook

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
fwe77
Regular
Posts: 140
Joined: Wed Sep 21, 2005 11:17 pm
Contact:

Problem: Two Colours Theme and Guestbook

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problem: Two Colours Theme and Guestbook

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
fwe77
Regular
Posts: 140
Joined: Wed Sep 21, 2005 11:17 pm
Contact:

Post by fwe77 »

Hi Garvin,

many thanks! Exactly that was it!

Greeting. Frank.
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

I have a similar problem with the Hemingway theme. See my other thread for details. Ill check out this solution later.
Marc
Post Reply