I'm developing an app using CakePHP and have encountered a strange problem: When I POST data to a particular method I get a 0 byte response and a simple 404 error in the access log.
psycho953.psych.susx.ac.uk - - [11/Oct/2011:10:17:43 +0100] "GET /research/ssd/aesthetics/participants/add HTTP/1.1" 200 3255 "-" "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
psycho953.psych.susx.ac.uk - - [11/Oct/2011:10:17:44 +0100] "POST /research/ssd/aesthetics/participants/add HTTP/1.1" 404 - "http://webvm.psych.sussex.ac.uk/research/ssd/aesthetics/participants/add" "Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
POSTing to other forms works, whether or not they use CakePHP or just regular PHP.
I can't figure out how to work beyond the 0 byte response. My question isn't so much "Why isn't this working?" as "How can I find out what's not working?"
For the record, php.ini is set to display errors and succeeds in doing so for syntax errors etc.