Weird form validation error |
[eluser]Unknown[/eluser]
Hey guys, I'm having a bit of trouble with form validation on my production server. Here's one of the forms on my site http://motorsportdays.com/account/register If you hit the submit button, no validation appears, yet this is what happens on my local machine http://d.pr/i/zzTE Is this a PHP configuration issue? Or something to do with CI? I'm running the site on Linode ( http://www.linode.com/ ), latest release of CI, and uses Tank Auth for account management. Also it might be worth mentioning that my PHP error log defined in php.ini is blank. Any help hugely appreciated
[eluser]Aken[/eluser]
It has something to do with your .htaccess -- if you process everything with index.php in the URL, it works. Probably related: that page actually returns a 404 not found header, even though it's displayed. That's not good, lol.
[eluser]Unknown[/eluser]
Yeah overlooked the 404 issue, turns out the apache rewrite module wasn't loaded. Here's how I solved it: Create a new file Code: sudo vi /etc/apache2/mods-enabled/rewrite.load Add this to the file Code: LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so Restart apache Code: sudo service apache2 restart
[eluser]Aken[/eluser]
Do you have access to the original apache config file? It might've just been a matter of uncommenting that line. But if you're only on a CLI interface I could see that being more difficult. |
Welcome Guest, Not a member yet? Register Sign In |