Welcome Guest, Not a member yet? Register   Sign In
Script not getting POST data
#1

[eluser]Monotoba[/eluser]
Hi All,

I've been beating my head against the wall on this one. I moved my sites to a new server and the sites no longer receive post data from CI. A test script proves that the scripts are in deed getting post data from Apache but CI seems to be loosing this data. I have search this site and others looking for information on this issue and have not found a solutions.

A test script printing $_POST[] does show the submitted data. However, the CMS I am using does not. Printing the value of $this->input->post(<myfield>) returns empty. I have tried removing the www from the base url and that breaks the templating system and still does not solve the issue. The CMS I am using is CI-CMS2. I suspect that this is an issue either with the CMS or the server configuration. Can anyone give me any ideas or point me in the right direction to diagnose this?

Note that the profiler also reports no post data. Also, adding print_r($_POST) to the constructor of the CI core/input.php class results in an empty array.




Theme © iAndrew 2016 - Forum software by © MyBB