for error 500 you need to follow debug instructions https://infinityfree.net/support/http-error-500/
or read here some possible steps