![]() |
No $_POST Data on GoDaddy site - 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: No $_POST Data on GoDaddy site (/showthread.php?tid=31717) |
No $_POST Data on GoDaddy site - El Forum - 06-29-2010 [eluser]ciN00b[/eluser] Hi all, I've been using CI on GoDaddy for about 6 months now. I went to release a new version of my site (mostly layout changes) and now I'm not getting any $_POST data. the $_POST array is completely empty. I've reviewed this link: http://ellislab.com/forums/viewthread/119244/ but none of their suggestions helped. I did switch my configuration to break the pages up (Header/Footer) using the MY_Controller library. I thought I reconciled all of the configuration changes between my local environment and GoDaddy, but I could be missing something. Any suggestions out there? The site is madriverpetfoods.com thanks. No $_POST Data on GoDaddy site - El Forum - 06-29-2010 [eluser]LuckyFella73[/eluser] I can't find an error - you could try to set an "enctype" in your form-tag and see what happens. When activating firebug and sending your form you get a "page not found message" even a new page pops up (without the result I think). No $_POST Data on GoDaddy site - El Forum - 06-29-2010 [eluser]ciN00b[/eluser] Thanks for the suggestions LuckyFella. The enctype didn't work, but I hadn't even thought of Firebug. After seeing the 404 error in Firebug, I was taken back to my .htaccess file. On a whim, I added the 'index.php' back to my form action and everything started working again. So the problem must be in my .htaccess file, which I know is problematic on GoDaddy. I will continue to investigate in case anyone needs this in the future. No $_POST Data on GoDaddy site - El Forum - 06-29-2010 [eluser]danmontgomery[/eluser] Be sure to read the wiki page on this topic: http://codeigniter.com/wiki/Godaddy_Installaton_Tips/ No $_POST Data on GoDaddy site - El Forum - 06-29-2010 [eluser]ciN00b[/eluser] Thanks, noctrum. I've found the problem. I used that wiki to set up my site initially. Doing another diff of my local and production .htaccess file shows I was using "rewrite_module" instead of "mod_rewrite.c" in my IfModule directive. Not sure why that is so important, but for GoDaddy it matters. |