![]() |
![]() |
- RSS feeds for forum topics
- Email notifications for topic replies
- A few bug fixes
On my development server I thought I was doing pretty good, until I uploaded live a few minutes ago. This is where it gets fun.
Turns out the XML feeds don't validate (and don't work) due to a line of whitespace. Probably the same line of whitespace causing redirects to fail when you subscribe to a topic or edit a post.
I post this message publicly to illustrate the sorts of things that can go wrong when you let whitespace into your PHP files. I'm guessing this whitespace is included in a plugin that my dev server doesn't have, so the treasure hunt begins now.
Moral of the story:
Make sure your PHP files don't have leading or trailing whitespace.
Please, everyone working on the jojo code, configure your text editors to:
- Use unix file endings (\n)
- Strip trailing whitespace on save
- Use soft tabs (4 spaces, not \t's)
- UTF-8 encoding
The jedit whitespace plugin does most of this. Not sure about other editors.
- Mike
Back to Forum Index : Back to General Discussion |
![]() |