Well error 500 is a general server side error description. To see the real error you have to enable debugging and then check the details.
See: