Home Forums WoodMart support forum Unable to post a review with image.

Unable to post a review with image.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #547527

    Mntfloppy
    Participant

    Hello,

    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

    • This topic was modified 12 months ago by Mntfloppy.
    • This topic was modified 12 months ago by Mntfloppy.
    #547701

    Hello,

    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 builder

    Best Regards.

    #549169

    Mntfloppy
    Participant

    I 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.”

    #549248

    Hello,

    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.

    #549455

    Mntfloppy
    Participant

    Yes, please close this thread as resolved.

    #549524

    Sounds 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.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Unable to post a review with image.’ is closed to new replies.