so your using the latest files ? with the latest database ?
as it looks like your running the latest gates with an older not updated database.
i suggest you start from scratch and use the fully updated version that elvin and jasper have put the time into fully updating so you wont get issues like this:
http://www.lomcn.co.uk/forum/showthread.php?t=53383
download the files from there restore the database that says "restore this" or something sim, change the ips etc if you need to, make sure the sql login and pass are correct in the server files ie dbserver and m2server setup files
and they should work without a single issue, ive had them running and ive also logged on a few people's machines and got there's working so i know there is nothing wrong with them