Welcome Guest, Not a member yet? Register   Sign In
Form Produces 404
#1

[eluser]NotoriousWebmaster[/eluser]
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:

Code:
<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,
- AAA
#2

[eluser]Nick_MyShuitings[/eluser]
most likely its trying something with AJAX when you submit the form... and that is failing.
#3

[eluser]NotoriousWebmaster[/eluser]
Right you are, Nick. I should have seen that myself. Thx for your help.

- AAA




Theme © iAndrew 2016 - Forum software by © MyBB