ci_bootstrap_3
ci_bootstrap_3 copied to clipboard
Problem sending parameters via POST
Hi,
We are facing problem accessing post parameters. When parameters are sent using HTTP method post, CI form validation library always returns false. Tried debugging post variables, it is always empty.
Please advise. Vaibhav
got the same error while posting with ajax while trying to implement a popup, in base model the function render does something with posts...when i put an if empty post in the controller before validation i get my results...
Hi all,
I also noticed there seems something wrong with form validation. After some checking it looks like the issue comes from MY_Form_validation (inside /application/core/ folder) class.
Please try either of the following methods:
- Remove *__construct() function * from MY_Form_validation.php
- Remove the whole MY_Form_validation.php file
Method 1 works for me (but not sure about the reason yet...), please see if this can help.