bah, you profile.txt doesn't have line numbers X.X (brb, I'll edit this post when I get a chance )
edit --
902
903
904 $result = $db->query('SELECT u.username, u.email, u.title, u.realname, u.url, u.jabber, u.icq, u.msn, u.aim, u.yahoo, u.location, u.use_avatar, u.avatar_link, u.signature,
905 message($lang_common['Bad request']);
906
907 $user = $db->fetch_assoc($result);
Erm... looks like line 904 is missing some code... did you copy and paste correctly when you were doing your modding?
Try this:
902
903
904 //$result = $db->query('SELECT u.username, u.email, u.title, u.realname, u.url, u.jabber, u.icq, u.msn, u.aim, u.yahoo, u.location, u.use_avatar, u.avatar_link, u.signature');
905 message($lang_common['Bad request']);
906
907 $user = $db->fetch_assoc($result);
If you get the same error your language file is also missing the 'Bad request' tag. Either way you will have to find out what's missing on line 904