mStudios
Member
Posted 1 year ago #
The form works without the File Upload added. Adding it though will result in an endless rotating arrow, never makes it to error/success message and in the console I get:
TypeError: Result of expression '$.handleError' [undefined] is not a function.
jquery.form.js (ver=2.47) line 383
The JS gets loaded at the end of the page. Read the docs, the tutorial, the comments and I triple checked the form setup and tried it with the most simple (no limits) file upload. Always the same problem. The moment I take that one line out, the form works again.
mStudios
Member
Posted 1 year ago #
I noticed that I did not have the latest plugin version, so I upgraded, but the error remains, now with jquery.form.js (ver=2.52) on line 388.
mStudios
Member
Posted 1 year ago #
Update: I have upgraded to WP 3.1 and am on the latest plugin. Error remains.
tomasztopa
Member
Posted 1 year ago #
I have the same problem, the error shows up when I have jQuery 1.5 included on my site. Works with jQuery 1.4.4
same here using the latest versions of the form and WP.
the mail and attachment are sent just fine but the animation continuous ... trying to debug it with firebug ... uncommenting the handleerror en setting the ok to true; it takes me to the scripts.js and gives me the error that the data var is undefined but still sent the mail just fine ... removing the file input field and the callback works.
$.httpData and $.handleError are removed from jquery 1.5.
They have been rolled in to the ajax functionality with the ajax rewrite, therefore $.httpData and $.handleError no longer exist, and this plugin no longer works with the latest jquery.
Constantin Schneider
Member
Posted 1 year ago #
*bump*
I too have the same problem.
Does anyone maybe have a workaround?
Cheers,
Constantin
robindemey
Member
Posted 1 year ago #
I changed the php.ini file to the following:
memory_limit = 64M
upload_max_filesize = 64M
deanoakley
Member
Posted 3 months ago #
This is still an issue. Temporary fix is to force and old version of jquery in fucntions.php
function my_scripts_method() {
wp_deregister_script( 'jquery' );
wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js');
wp_enqueue_script( 'jquery' );
}
add_action('wp_enqueue_scripts', 'my_scripts_method');