Which page do you get that error on, Piggy? I think I know how to solve this one if I can re-create the error at my end :)
edit : I think I've fixed this problem now - it wasn't anything to do with the database like I thought, but an error with a forum software plugin (vBSEO). Does it work ok for you now?