Environment:
- PostNuke 0.711
- PostCalendar 3.0 new installation.
Steps:
- When I add or edit a PostCalendar block, I get the
following errors:
Warning: Undefined variable: vars in
c:\inetpub\wwwroot\postnuke\html\modules\PostCalendar\p
nblocks\calendar.php on line 1118
Warning: Cannot add header information - headers
already sent by (output started at
c:\inetpub\wwwroot\postnuke\html\modules\PostCalendar\p
nblocks\calendar.php:1118) in
c:\inetpub\wwwroot\postnuke\html\includes\pnAPI.php on
line 989
If you refresh, it works.
Logged In: YES
user_id=204169
This is fixed in CVS. The offending line was removed.
To fix in ver 3.0 just remove line 1118 from calendar.php.
[code]
$blockinfo['content'] = pnBlockVarsToContent($vars);
[/code]