[pmwiki-users] Fwd: Re: ToDo Recipe
Steve Rowe
think1blue at yahoo.com
Wed Jun 28 16:06:37 CDT 2006
Now this message shows up at the top of every page:
Warning: Cannot modify header information - headers
already sent by (output started at
E:\BCC\BCC\pmwiki\cookbook\XToDo.php:754) in
E:\BCC\BCC\pmwiki\pmwiki.php on line 870
When I submit new ToDo's it just shows this:
Warning: Cannot modify header information - headers
already sent by (output started at
E:\BCC\BCC\pmwiki\cookbook\XToDo.php:754) in
E:\BCC\BCC\pmwiki\cookbook\XToDo.php on line 337
And when I check the directory still NO
XToDoSite.000002 is created.
I've changed it back to my old XToDo.php - it doesn't
work, but at least the Warning message is gone. Here
is my code:
http://www.bethlehemcommunitychurch.com/XToDo.txt
Here is a summary of the differences I could find:
1) Line 262 - yours is commented out:
#if (empty($selected)) $output[] = "<option
selected></option>\n";
2) Line 389 - yours has commented out a line and
replaced it:
#$notes_text = "(:simplebilling:)\n\n!! Notes";
$notes_text = "(:xtodobilling:)\n\n!! Notes";
3) Lines 445-451 - yours has this added:
if (strpos($date_criteria, '..')) {
list($from, $until) =
preg_split('/\.{2}/',$date_criteria);
return array(
strtotime($from),
strtotime($until)
);
}
--- Ben Wilson <dausha at gmail.com> wrote:
> http://www.dausha.net/xtodo.txt
>
> Let me know if this fixes the problem.
>
> On 6/28/06, Steve Rowe <think1blue at yahoo.com> wrote:
> > Ben,
> >
> > That would be great. Hopefully it works, but at
> the
> > very least it will help me troubleshoot. (Maybe
> XToDo
> > conflicts with another recipe?)
> >
> > --- Ben Wilson <dausha at gmail.com> wrote:
> >
> > > On 6/27/06, Steve Rowe <think1blue at yahoo.com>
> wrote:
> > > > Anybody have any suggestions for why the ToDo
> > > recipe
> > > > is overwriting the XToDoSite.000001 file and
> not
> > > > displaying it in the (:todolist:) ?
> > > >
> > > > Thanks!
> > >
> > > Hmm. I've definitely not encoutered this. Sounds
> > > like there is a
> > > counting function that isn't. If you'd like, I
> can
> > > make the xtodo that
> > > I'm using available from my site. I know it
> works,
> > > having used it just
> > > this past weekend, so maybe it will work. I'm
> > > assuming there's a
> > > version change between your version and the one
> I'm
> > > using.
> > >
> > > --
> > > Ben Wilson
> > > "Democracy: two wolves and a sheep voting on
> what's
> > > for dinner."
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
>
>
> --
> Ben Wilson
> "Democracy: two wolves and a sheep voting on what's
> for dinner."
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the pmwiki-users
mailing list