I have attached the log files frombase server FYP
Oh really. ok Im attaching the changed code and its errors.