2
Delete the file. XOOPS will recompile it from the dB. If you get the same error again, you will need to use some mySQL frontend and edit the offending ) out of the database.
Also, if you have edited/changed the default templates (/themes) you should click the green package next to system in admin.
Try deleting first, post back if it doesn't fix it.
GL