jshuter / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
GNU General Public License v3.0
0 stars 0 forks source link

Nginx ajax file upload error #212

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm trying to upload a file via ajax, but it doesn't work. It works ok via a 
normal form submit. Maybe is a server issue, as I'm running nginx? This is the 
error message I get from php:
"Notice: Undefined index: name in..."

Original issue reported on code.google.com by etaminae...@gmail.com on 14 Feb 2014 at 1:48

GoogleCodeExporter commented 8 years ago
The form is configured like this:

        $form->configure(array(

                "ajax" => 1,
                "ajaxCallback" => "parseJSONResponse",
                "action" => "",

Original comment by etaminae...@gmail.com on 14 Feb 2014 at 1:50