Quote by jason559: When I click on any story that is what appears, in it's entirety.
Hmm, which version of Geeklog is that? It should actually only say "An SQL error has occured - see error.log for details" (or words to that effect) and NOT display the error (or parts of it) in the browser.
Anyway, the complete error message, including the entire SQL statement, should be in Geeklog's error.log file.
bye, Dirk