I recently installed the Banner module and it works fine I have 2 blocks on my site and nothing really to complain about.

When I tried to create a new ad banner group with custom code added to the theme I get the following error.

* warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/banner_file.php:72) in /home/mysite/public_html/includes/common.inc on line 139.
* warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/banner_file.php:72) in /home/mysite/public_html/includes/common.inc on line 139.

I'm using a customized verion of Bluemarine with this code added print banner_display(3, 1) the aim is to display 1 ad at a time from ad banner group 3.

one alteration i made was renaming the banner groups from ad banner group 1 to 120 x 240 banners.

anyone got an idea how to solve this problem?