The hashing for this is md5(sha1, you can edit this at the bottom of class.core.php which is probably causing the incorrect password error. As for the 'referer' error, you need to add an extra field in the users table called 'referer' with the type as varchar