Hi,
The problem is that the attribute enctype=”multipart/form-data” is not set for your review form. I checked our plugin and see that there’s no problem. Do you recently change your theme or update anything?
Thread Starter
mashut
(@mashut)
Hi there,
Thanks for your quick answer! No, i have changed nothing. The theme is the same. In the beginning, everything worked and the imaged were downloading… What should I do to make them download?
Please add this js code to file woo-photo-reviews/js/script.js, after the very first line in that file:
jQuery('#commentform').attr('enctype','multipart/form-data');
Thread Starter
mashut
(@mashut)
Added, unfortunately, that didn’t help.
P.S. I cleared the cache, still didn’t help.
I just upload 1 test review. Do you see the image?
Thread Starter
mashut
(@mashut)
I approved your comment. Unfortunately no photo.
Yes i see. Please contact us via support@villatheme.com, i will help you check your problem.
Have you install new plugins recently? I check and see that some hooks related to comment are removed.
These hooks(in file wp-includes/comment-template.php) are removed, so our plugin can not process the uploaded images:
comment_form_before
comment_form_after
preprocess_comment
Please tell your dev about this.
-
This reply was modified 7 years, 1 month ago by
kimvt1991.
Thread Starter
mashut
(@mashut)
I don’t know why these hooks were removed, I didn’t do that. Nor did I install the new plugins. Yours was the latest… Can you add these hooks again? Thanks.
So i will duplicate your site and install on local to see what causes the problem. I will tell you if i can find something out.
Thread Starter
mashut
(@mashut)
OK, thanks for your help!
It’s caused by WP-SpamShield plugin. You can deactivate it to test.
Thread Starter
mashut
(@mashut)
OK, I’ll try to contact the author of this plugin to understand how to make work both plugins. Thank you for your help.
-
This reply was modified 7 years, 1 month ago by
mashut.