getting 500 internal server error on upload

Hi all ,

I have a application where i try to upload a csv file and parse the
I am getting "500 internal server error" after clicking upload.
However the file got uploaded correctly at the destination location. I
am using Lighttpd - FastCGI server. At looking into the server logs i
found the error was due to "Malformed multipart post"

Form view