Hi,
Recentyly I have encountered a strange problem. After adding a new own built module I got this warning.
-----
warning: Cannot modify header information - headers already sent by (output started at D:\Usr\WWW\Drupal\modules\advert\advert.module:1) in D:\Usr\WWW\Drupal\includes\common.inc on line 266.
-----
I can add remove and edit content but after hitting submitt i got a blank page. When I navigate back in a browser I can actually see changes were applied (plus i got a warning message). This scenario is applicable to any content of my site. When I administer site as an administrator and apply some settings or I act as an user trying to log on. Every time the same sheme submit, blank page, navigate back, changes were applied.
When I remove module from \modules folder everything gets back to normal.
I have tried to comment separate functions to track down one which is responsible for this problem.
Without any success. Only removal of module is effective.
Module is responsible for storing content about advertisements, here is a list of module functions:
function advert_help($section) {}
function advert_access($op, $advertisement) {}
function advert_menu($may_cache) {}
function advert_form(&$advertisement) {}
function advert_validate(&$advertisement) {}
function advert_insert($advertisement) {}
function advert_nodeapi(&$advertisement, $op, $teaser, $page) {}