Whenever I try to upload a picture it just says 'file transfer failed, contact administrator.' and i'm not sure why it keeps doing that... If someone can please look at the code and see where it's messed up than i'de really appreciate it.
Yes, I have an avatar field in user table in database...