in reply to why am i getting script error 500

I don't know why you get that error, however you will likely find a clear description of the problem in the log of your webserver.