![]() |
Premature end of script headers on form submission - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Premature end of script headers on form submission (/showthread.php?tid=45300) |
Premature end of script headers on form submission - El Forum - 09-16-2011 [eluser]Unknown[/eluser] Hi guys, I'm receving a 500 Internal Server error on form submission. The form uses post as method and the action is on the same page. It's address is Code: index.php/controller/edit/id where edit is the controller method and the id is a numeric parameter. Code: function edit($id) As you can see the script is very simple, and I figured out that the run method of form validation library is what is giving me the problem. In particular if I comment the if out it runs well also if in the run method I comment out the return line :O Any idea on what it could be the problem ? |