I'm running phpbb2, and I've been having trouble getting the board up and running smoothly again after installing an "Add Topic Types" mod. For some reason, the board works find for mods and admins, but for regular users, viewtopic.php does not display any posts, just the header and footer. I don't know if this is an SQL database error, or if there's a problem with the code.
For reference, here are links:
A screenshot of viewtopic.php
viewtopic.php as a txt file
alter_tables.php as a txt file
I'm confident there's either a syntax error in viewtopic, or alter_tables stuck something into my database that shouldn't be there. In either case, I don't know the code well enough to be able to spot an error unless it's huge, and I don't have a good editor on this machine (i've been using notepad), so it's not like I can debug easily.
Any help would be appreciated. Thanks!