Have you tried uploading the page by itself without the template being applied? It seems that the page is posting but not triggering any of the server side functionality. If you can test it by itself this should help to let you know if it is the code on the page or the inclusion of the template that is the problem.