A mysql error fix;
Non picture file upload not allowed now;
Bugs fix.