Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   404 error when reader submits comment (http://forum.bytesforall.com/showthread.php?t=180)

beanfair Feb 3, 2009 07:13 PM

404 error when reader submits comment
 
Whenever a reader submits a comment instead of refreshing the page and displaying comments, they get a 404 error. In the address in the tool bar is showing a double // so I assume that is the problem but I can't see how to fix it. I am looking at the code
PHP Code:

<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">

but not sure how to correct it or even if I am in the right place.
http://www.wonderfulweb.info
Any assistance is appreciated.

Flynn Feb 3, 2009 07:41 PM

That code looks alright. The comments go through and get posted, the second slash is being inserted by the browser, the error starts before the comment form, with a wrong link TO the comment form

http://wonderfulweb.info/social-medi...ring-guinness/ #comments

Note the space before #comments

Both the (main) links to posts (via the post headlines) and the direct links to the comment area of posts have a trailing space.

There appears to be a trailing space somewhere in your settings, see if there's a trailing space at Site Admin -> Settings -> Permalinks -> Custom Structure

Click into the right edge of the "Custom Structure" text field and see where the cursor ends up at. If there's a trailing space, delete it, click "Save changes" and try posting a comment again.

beanfair Feb 4, 2009 06:40 PM

Thank you, that fixed it. I added it a kudos to you in the comments there on the blog.
I was looking for a way to mark this thread as solved now but I didn't see instructions in the FAQ.

danielthepoet May 6, 2010 08:38 PM

Flynn,

Could you share some insight on my blog? All of a sudden, my visitors are getting the 404 error when they submit comments. Not sure how this could happen suddenly. This is the error page they're getting:
http://www.mommypotamus.com/wp-comments-post.php

My wp-comments-post.php file is present. I even reuploaded it from WordPress.org. So I have no idea why I'm suddenly unable to get comments to go through.

juggledad May 7, 2010 04:45 AM

danielthepoet: You are not using the Atahualpa Theme. This forum is for users of the Atahualpa theme. If you wish to swap themes and have a problem, feel free, but you should go ask the author of your current theme.


All times are GMT -6. The time now is 09:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.