Can't POST |
[eluser]ouzodestructo[/eluser]
I have developed a site and have put it on my web server but my forms don't post any data. Have a look at http://www.geneethics.org/contact. I have put in a print_r($_POST) in my controller to show whats passing (nothing!) It works on my dev box, so why not here? I have brought it up with my web hosts but they say its not them. Any ideas whats going on here?
[eluser]Crimp[/eluser]
Enable the profiler in your controller to see what is being passed: Code: $this->output->enable_profiler(TRUE);
[eluser]coolfactor[/eluser]
Your site is doing a redirect. I suspect an .htaccess configuration error. Form submits to: http://geneethics.org/contact/display Redirects to: http://www.geneethics.org/index.php/contact/display Form data is lost during the redirect.
[eluser]ouzodestructo[/eluser]
Thanks Crimp. I've done that but its not displaying anything. I've updated the page geneethics.org/contact Could it be the .htaccess file? This works fine on my dev box so could it have to do with server settings?
[eluser]ouzodestructo[/eluser]
Thanks, that sounds about right. I'm not too good with that tho so i'd appreciate some feedback. Here's my .htaccess file: Code: <Files .htaccess> |
Welcome Guest, Not a member yet? Register Sign In |