problem with immediate notifications/changes

description

Hi all,
i am implementing immediate notifications with streber on my local server. I already obtain mails when i create/update a task.
But i still have some problems i can't resolve, maybe i did something wrong? please if anyone can help...
i join the errors i currently have in error.log.php:

Error 20070629093310 NOTICE: render\render_page.inc.php : 229 'page' global var already defined!
Error 20070629093310 pages\task_view.inc.php : 63 -> Page::__construct()
Error 20070629093310 std\class_pagehandler.inc.php : 729 -> TaskView()
Error 20070629093310 std\class_pagehandler.inc.php : 620 -> PageHandler::show("taskView", [1])
Error 20070629093310 pages\task_more.inc.php :1421 -> PageHandler::showFromPage()
Error 20070629093310 std\class_pagehandler.inc.php : 729 -> taskEditSubmit()
Error 20070629093310 index.php : 206 -> PageHandler::show("taskEditSubmit")
Error 20070629093310
Error 20070629093310 Variables in __construct():
Error 20070629093310 this = OBJECT
Error 20070629093310 args = NULL
Error 20070629093310 _PAGE = OBJECT
Error 20070629093310 auth = OBJECT
Error 20070629093310 PH = OBJECT
Error 20070629093310 v0.08, taskView, from 127.0.0.1, uri:/streber_v0.08/index.php
Hi all,
i am implementing immediate notifications with streber on my local server. I already obtain mails when i create/update a task.
But i still have some problems i can't resolve, maybe i did something wrong? please if anyone can help...
i join the errors i currently have in error.log.php:

Error 20070629093310 NOTICE: render\render_page.inc.php : 229 'page' global var already defined!
Error 20070629093310 pages\task_view.inc.php : 63 -> Page::__construct()
Error 20070629093310 std\class_pagehandler.inc.php : 729 -> TaskView()
Error 20070629093310 std\class_pagehandler.inc.php : 620 -> PageHandler::show("taskView", [1])
Error 20070629093310 pages\task_more.inc.php :1421 -> PageHandler::showFromPage()
Error 20070629093310 std\class_pagehandler.inc.php : 729 -> taskEditSubmit()
Error 20070629093310 index.php : 206 -> PageHandler::show("taskEditSubmit")
Error 20070629093310
Error 20070629093310 Variables in __construct():
Error 20070629093310 this = OBJECT
Error 20070629093310 args = NULL
Error 20070629093310 _PAGE = OBJECT
Error 20070629093310 auth = OBJECT
Error 20070629093310 PH = OBJECT
Error 20070629093310 v0.08, taskView, from 127.0.0.1, uri:/streber_v0.08/index.php

this is due to the following lines i have added in function taskEditSubmit, in file task_more.inc.php:
### set up page and write header ####
{
$newpage= new Page();
initPageForTask($newpage,$task,$project);
// echo(new PageHeader);
}
//echo (new PageContentOpen);

I comented the lines with "echo" because otherwise, i have other error messages stating that i can't modify headers.
But if i comment also the 2 others, i also have many error lines:

Error 20070628164808 WARNING: render\render_page.inc.php : 459 Cannot create PageElement s without Page-object
Error 20070628164808 render\render_block.inc.php : 98 -> PageElement::__construct(NULL)
Error 20070628164808 render\render_list.inc.php :1261 -> PageBlock::__construct(NULL)
Error 20070628164808 lists\list_changes.inc.php : 31 -> ListBlock::__construct(NULL)
Error 20070628164808 pages\notification.inc.php : 19 -> ListBlock_changes::__construct()
Error 20070628164808 pages\task_more.inc.php :1396 -> sendNotification(*Project)
Error 20070628164808 std\class_pagehandler.inc.php : 729 -> taskEditSubmit()
Error 20070628164808 index.php : 206 -> PageHandler::show("taskEditSubmit")
Error 20070628164808
Error 20070628164808 Variables in __construct():
Error 20070628164808 args = NULL
Error 20070628164808 _PAGE = NULL
Error 20070628164808 v0.08, taskEditSubmit, from 127.0.0.1, uri:/streber_v0.08/index.php

Sincerely,

Axelle.