Topic: avatar upload
In profile.php, in the avatar section, you have
if (!isset($_FILES['req_file']))
message($lang_profile['No file']);
That code doesn't do anything, I tested it. The message that appears, comes from the error handling (error case 4).