Re-upload the original sessions.php file from your hard drive.
It looks like there are some extraneous at (@) symbols in there where they don't need to be. Make sure that you're uploading the file in ASCII mode as well.
If that fails, then open up "includes/sessions.php" in a text editor (notepad will do in a pinch), and on line 272 (give or take), remove the @ signs from before WHERE and AND.
That should clear things up.