HTTP status 500 is a sign of unspecified server internal error. Best to check the PHP and web server's (e.g. Apache) error logs to see what is going wrong. It may (and often does) help to raise debugging level to DEBUG_DEVELOPER.
Languages
Error
This discussion has been locked so you can no longer reply to it.