CodeIgniter User Guide Version 1.7.2 not working |
[eluser]explores[/eluser]
Hi, I am trying learn how to setup a form to do simple validation. I am following the CodeIgniter User Guide Version 1.7.2 (http://ellislab.com/codeigniter/user-gui...erview)and its just not working. I even copied the views and controller directly from the tutorial but when I hit the submit button it refreshes. Its not showing errors and when everything is filled out it doesn't go to the success page. I am new to CI and could be doing something wrong, but I just don't see it. Thanks Code: <?php Code: <html>
[eluser]explores[/eluser]
I figured it out. My base_url was going to "http://domain.com" but I have my domain set to redirect to "http://www.domain.com". So when the form was submitting is was going to the domain without the "www". Once I changed the base_url with the "www" it worked.
[eluser]katimari[/eluser]
Summer - I had the exact same problem and your solution worked for me - thanks for posting it! |
Welcome Guest, Not a member yet? Register Sign In |