[Pmwiki-users] template problem
H. Fox
haganfox
Tue Mar 30 14:49:19 CST 2004
Something similar happened to me. Starting my config.php from fresh
fixed it. Now I think I could have fixed it without starting over.
Try this: Where ^ represents the beginning of a line, $ represents the
end of a line, and [whitespace] represents either a space or tab
character, make sure you don't have the following in your config.php
^[whitespace]
or
[whitespace]$
or
^$ (at either the beginning or end of the file)
From the PmWiki FAQ page:
Q: I'm seeing error messages like "Warning: Cannot modify header
information - headers already sent by (output started at ...)" when I
view pages -- what do I do?
A: Make sure there aren't any extra blank lines or characters at either
the beginning or end of your local.php file--these will generate
spurious warnings.
Hagan
Thomas N.Burg wrote:
> Hi,
>
> I'm still struggeling with using different templates/css. I downloaded a
> template/css from the cookbook page, placed it in the pub/skins folder
> (creating pub/skins/arndis).
>
> Then changed a line in the config.php to the following
>
> >>$PageTemplateFmt = "pub/skins/arndis/grey.tmpl"<<
>
> and got this error message
>
> >>Parse error: parse error in
> /home/www/thob/wiki.randgaenge.net/local/config.php on line 11
>
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /home/www/thob/wiki.randgaenge.net/local/config.php:11) in
> /home/www/thob/wiki.randgaenge.net/pmwiki.php on line 393<<
>
> I checked line 11 and found this:
>
> >>$TimeFmt='%B %d, %Y @ %H:%M';<<
>
> What's wrong with those lines?
>
> Help appreciated.
>
> Thanks
>
> Thomas
>
>
More information about the pmwiki-users
mailing list