Menu

#34 Add/Edit Block Error

Block
closed
5
2002-04-08
2002-04-08
No

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.

Discussion

  • Roger Raymond

    Roger Raymond - 2002-04-08

    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]

     
  • Roger Raymond

    Roger Raymond - 2002-04-08
    • status: open --> closed
     

Log in to post a comment.