ASO: Form validation - possible post issue - 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: ASO: Form validation - possible post issue (/showthread.php?tid=46536) |
ASO: Form validation - possible post issue - El Forum - 11-04-2011 [eluser]Unknown[/eluser] Host: asmallorange.com I've never ran into such trouble getting a simple form validation script running until I tried on asmallorange. I do not have any htaccess rewrites, but I do have xss/csrf on. Google already helped me to find that ASO needs the following set to work (although it didn't help) Code: $config['uri_protocol'] = 'REQUEST_URI'; I have a form which uses the form helper to generate the form tag Code: <?php echo form_open('a'); ?> Then I have the controller Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); I cannot get any validation to be performed, it always renders the form with no error output. I am using Code: form_error('name') I believe it's a server configuration issue as this works in dev on my other projects. Ideas? |