Just as a heads up, im using Chrome and everything works, no server error.

I think its not the code, but the actual server its self (the people who host your site) since its an "error 500 server...