OK, I tracked down the problem to retrieving the forum information from the database:
in functions.inc lines 1219-1224 it sets up the SQL:
SQL: SELECT a.id, a.forum, a.name, a.date, a.lastupdated, a.last_reply_rec, a.subject, a.comment, a.uid, a.name, a.pid, a.replies, a.views, b.forum_name FROM gl_forum_topic a LEFT JOIN gl_forum_forums b ON a.forum=b.forum_id WHERE pid=0 AND b.grp_id IN (2,4,7,11,5,13,12,10,8,1,14,3,17,6,9,19,18,20,21,15) AND b.no_newposts = 0 ORDER BY lastupdated DESC LIMIT 5
which dies as:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SQL: SELECT a.id, a.forum, a.name, a.date, a.lastupdated, a.last_reply_rec, a.su' at line 1
I am running the database on MySQL version 5 (unless godaddy is lying to me)
a test of:
SELECT a. * FROM gl_forum_topic a
results in :
#1051 - Unknown table 'a'
testing:
SELECT a. * FROM gl_forum_topic AS a
does work.
So that bit of uglyness seems to be fixed - going to have to go looking for other places that's listed