• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form Produces 404

I'm totally confused. Please help.

I've inherited this app, and it's my first experience with CI. Version 1.7.2.

The form tag:

<form method="post"
            action="<?php echo base_url()?>index.php/imaf/new_draft_or_request"
            enctype="multipart/form-data" id="newRequestForm">

I've taken the action link from Firebug (http://imaf.dev/index.php/imaf/new_draft_or_request) and plugged it into a new page, and it actually goes to the controller.

But when I hit the submit button on the form page, I get a 404 page in Firebug, but the form doesn't change.

I don't understand why it returns the 404 in Firebug, or why it isn't finding the controller.

Please let me know if you need anything else.

Thx for your help,

most likely its trying something with AJAX when you submit the form... and that is failing.

Right you are, Nick. I should have seen that myself. Thx for your help.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.