First things first: I am running PHPBB 2.0.22 and SQL 4.1.14 I think I've really messed things up now. Here's the sequence of events. First, I backed up all affected .PHP and .TPL files. I then ran the bot_install.php file. The top part of the message showed this: sql_query($sql); while ( $row = $db...