Home › Forums › WoodMart support forum › Unable to post a review with image.
Unable to post a review with image.
- This topic has 5 replies, 2 voices, and was last updated 11 months, 3 weeks ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
March 8, 2024 at 8:43 pm #547527
MntfloppyParticipantHello,
I’m testing Single Product / Reviews functionality. I’m able to leave a review when no image is included. Adding an image uploads fine and seems to attach it to the comment. When I click the Submit button on the Review form, I’m redirected to wp-comments-post.php, which isn’t found and the default 404 page displays. The comment doesn’t makes it to Product / Reviews bucket either.
Thanks for you help in advance
March 9, 2024 at 5:17 pm #547701
Aizaz Imtiaz AwanKeymasterHello,
Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
WoodMart core
WooCommerce
Elementor/WPBakery page builderBest Regards.
March 14, 2024 at 7:15 pm #549169
MntfloppyParticipantI disabled all plugins except for the mentioned ones above and the issue still occurred.
Turns out it was a config setting on the server blocking the post request which in turn caused the 404 when submitting a review with an image. The following fixed my issue:
“If you receive ‘404’ or ‘Page not found’ errors after submitting a review with picture(s) on a WooCommerce product page, the problem is most likely related to the configuration of your web server. To confirm it, please submit a test review with a very small picture (less than 5 KB size). If it works, then the problem is definitely caused by size limits for uploaded files configured on your web server.
Different hosting providers set up different rules and limits for upload of images. You can try to adjust the upload limits yourself by editing your .htaccess file. Please remember to create a full backup before making changes. For example, try to add the following code:
<Files *.php> SetInputFilter PHP LimitRequestBody 5242880 </Files>
It tells Apache to allow up to 5 MB to be uploaded to the server.”
March 15, 2024 at 10:42 am #549248
Aizaz Imtiaz AwanKeymasterHello,
Has your issue been resolved or not? Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.
Best Regards.
March 15, 2024 at 6:49 pm #549455
MntfloppyParticipantYes, please close this thread as resolved.
March 16, 2024 at 9:34 am #549524
Aizaz Imtiaz AwanKeymasterSounds Great! that your issue has been solved.
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.Topic Closed.
Best Regards. -
AuthorPosts
The topic ‘Unable to post a review with image.’ is closed to new replies.
- You must be logged in to create new topics. Login / Register