Some times I have to clear the cache because some users say they cant comment. Every time they click on submit, the site redirect to /wp-comments-post.php and the comment is not published. When I clear the cache everything goes back to normal.
How can I fix this?
Thanks
]]>If anyone has 404 error issues with this plugin (like I had), please see post in the Support thread of this plugin,
the topic called “bug in with home_url()”,
Started by: Hrohh
it is easy to fix.
]]>comment-attachment-init.php
#674
echo ‘</form><form action=”‘. get_home_url() .’/wp-comments-post.php” method=”POST” enctype=”multipart/form-data” id=”attachmentForm” class=”comment-form” novalidate>’;
should be
echo ‘</form><form action=”‘. get_site_url() .’/wp-comments-post.php” method=”POST” enctype=”multipart/form-data” id=”attachmentForm” class=”comment-form” novalidate>’;
We can have WordPress core file in different area
I run this blog:
andreayximoaroundtheworld.com
When someone try to comment any post, it stucks at the https://www.andreayximoaroundtheworld.com/wp-comments-post.php URL, showing a 404 error and the comment is not saved.
I tried many solutions explained on other threads:
– Disabling, deleting and restarting plugins.
– Changing the site theme.
– Uploading again wp-comments-post.php.
– Changing .htaccess permissions.
– Changing PHP version.
– Repairing the wp-comments database.
… and many others, but none of them worked.
I would love if anyone knows or has experienced this problem and have the solution I need, because I’m getting pretty mad with that. Thanks on advance!
]]>My blog is https://www.holleewoodhair.com
I ran this blog on wordpress.com for about 3 years and moved it to www.remarpro.com in January of this year. I am by no means an expert with the programming side of things, but if there is something that I need to change in some code somewhere, please be specific and tell me what and where to change it. I also wonder if this is a theme issue? I can contact the company I purchased my theme from if that is the case.
A little more backstory: I have noticed the amount of comments I received declined since moving to www.remarpro.com, but I have received a few recently. I was originally using a plugin that was supposed to block spam comments, and realized that it was blocking all comments so I have disabled/deleted that (but is it possible that this has permanently dmaged my wp-comments-post.php file?). Now I am using Aksimet or whatever to block spam.
Please help! I am so lost and I can’t find much info from google.
]]>Got WP installed up and running. Added a comment plugin that allows for image uploads. EVERYTHING FUNCTIONING FINE! 3 Days later when trying to upload a picture with comments section I am getting this error:
Request Entity Too Large
/wp-comments-post.php
Does not allow request DATA with POST requests or the amount of data provided exceeds the capacity limit
Again, everything was working fine yesterday? So what changed, I guess the amount of data total that had been uploaded? Please help, I have no idea how to troubleshoot this.
]]>I searched and searched and tried every solution that I could find on the internet including uninstalling plugins, changing themes, uninstalling themes, reformatting .php, installing new .php files, I have enabled all comments on my blog, disabled any restrictions to posting comments (such as the rating system- I made all content acceptable, and lifted restrictions, as I stated above, I cleared my cache since the beginning of time, I even followed all the solutions on this post: https://www.crazybulb.com/troubleshoot/wordpress-blank-page-after-posting-a-comment-wp-comment-post-php/ which claims to be a 100% working solution for the problem (which includes repairing the comments table and running a jquery).
Finally, after no luck, I deleted my entire WordPress site, and reinstalled a fresh new one, enabling all comments, and lifting any restrictions to posting comments as I stated above (such as the rating system- I made all content acceptable, I made it so anyone can post, without having to put name and email).
The error still occurs! I have a brand new install of WordPress and still encounter this error! Could this be a problem with my Server Host? I have used different hosts with still the same problem. I used Awardspace.com, and biz.nf (co.nf), and still I have the same consistent problem. I am perplexed beyond despair, and don’t know what to do. Please Help me somebody!!
]]>I am creating a simple blog on a multisite WordPress installation (subdirectory model) on IIS7. The customer wants to be able to add comments, which I thought it would be a simple thing to add to the blog but to my surprise I am into my second day of trying to resolve a 404 error being returned every time I try to post a comment. I have almost read all the help topics on this but nothing has helped. I am new to WordPress and I don’t have much experience in PHP so please explain your reply in as much details as possible.
My root site is at this link – https://news.eastsussex.gov.uk/
My sub-site is at this link – https://news.eastsussex.gov.uk/socialworker/
The error message i am getting is a system error message and not a WordPress error page, please see link https://news.eastsussex.gov.uk/socialworker/wp-comments-post.php
I am really stuck and I need all the help I could get, so please let me know if you need anymore information that would help you to help me.
Thanks in advance for any help you are able to provide.
ET
]]>I’ve been getting an insane amount of comment spam, and emails being sent out from my site (so says my network admin)
we’ve discovered there is a vulnerability in the file wp-comments-post.php and I’m not sure how to go about correcting this vulnerability, I’ve already tried deleting this and replacing with a fresh file.
Has anyone dealt with a wp-comments-post.php exploit like this before? Any tips on what I should do?
I read this article, looks promising, thoughts? comments?
https://davidwalsh.name/wordpress-comment-spam