Hi there!
I've read a lot of threads regarding this problem, but none of the solutions seem to work for me. Here's the problem:
When I try to post a comment at my site, it goes to 404, and the comment isn't posted. I use custom permalinks, and my .htaccess file is writable. I kind of have a feeling that it has something to do with the fact that all the WordPress files are in a sub-folder, and the index.php is in my site's root. But the settings are correct.
Does anyone know how to get my comments working?
and my .htaccess file is writable
thats not the source of your trouble, but you dont want that world-writable, if it is.
thats not the source of your trouble, but you dont want that world-writable, if it is.
How is Chmod 666 for that?
thats world writable. chmod 644 is the most that file ought to be.
you ONLY change the permissions on that file when you are updating/changing your permalinks. the docs do say that.
All right, sorry, hadn't catched... So, do you know what might be wrong? I have other copies of WordPress running on the same server, but entirely in subfolders. Only this one has the problem with the comments... It goes to the address mysite.com/comment-page-/#comment- whenever I press Submit...
It goes to the address mysite.com/comment-page-/#comment- whenever I press Submit...
not without looking at the site no. change your theme to the default one and see if that fixes it. if it does, your theme is fubar'd.
It doesn't change it. I even redownloaded Kubrick, but without any luck...
You can see my site at stiern.com.
your comment form is pointing to here:
http://stiern.com/site/wp-comments-post.php
thats the right place, assuming that file is there. is it?
Yes, the file is at that place... I also downloaded the file once again at reuploaded it...
http://stiern.com/comment-page-/#comment-
thats where you are being redirected to. thats because your comment ID isnt being captured.
do you have any posts where I can actually see comments?
I created one manually in the database, it's at the top of the page now.
well that wont work ..
disable your plugins. see if that fixes it.
Nope, still doesn't do it...
ok, last chance, what do your error logs say?
Having RSS comment issues as well. I can get RSS feeds for individual posts but not all comments. When I go to what is supposed to be my comments feed I get "Error 404- Not found"
I disabled all plugins, but no luck.
My site: http://www.kontansplace.com
Post with comments: http://www.kontansplace.com/2008/12/31/blog-green-1/
Help appreciated, thanks
kontan, go start your own thread.
pshoeg, where do you see what? your error logs? does your host use cpanel? is there a logs folder that you see when you access your files using an ftp client? do you see any error_log files mixes in with your regular files?
It uses cpanel... The tail of the log file says:
[Fri Jan 2 00:28:23 2009] [crit] [client xx.xx.xx.xx] (13)Permission denied: /hsphere/local/home/xxx/xxx.com/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable.
But that is almost two hours ago according to my timezone.
pshoeg. yah thats not what we are looking for. but no errors is a good thing.
im out of ideas. were it me, i would move all the wordpress files into root, and change the 2 settings in the db. you cant really test by installing another instance of wp in the root that since your index.php is there. well you could, but you would need to rename it first.
You talked about, that it didn't save the comment id... Is it maybe because some file is chmoded wrong?
You talked about, that it didn't save the comment id... Is it maybe because some file is chmoded wrong?
No. and honestly, what I suggested should result in some sort of php error.
Okay, so I moved all the files to the root and changed it in the settings, but still - the comments don't work!
trying to prevent having multiple threads with similar issues whooami
nevermind.
I just received an e-mail from my blog:
A new comment on the post # "" is waiting for your approval
Author : (IP: , )
E-mail :
URL :
Whois : http://ws.arin.net/cgi-bin/whois.pl?queryinput=
Comment:
That's the only text... No IP, no e-mail, no nothing...
change your permalinks to defualt? and why are there still files in your site directory?
Oops... Sorry about that...
Okay, now I've changed the permalinks to default, but it still doesn't work... I really appreciate that you put so much effort in this!
But now it's a blank page, and not a 404...
ok, so now that resulting page is blank -- whats in that error log now?
There's a lot of "File does not exist" errors for some images, and some posts, and then there's this:
[Fri Jan 2 02:36:50 2009] [error] [client xx.xx.xx.xx] File does not exist: /hsphere/local/home/xxx/xxx.com/site/wp-comments-post.php
But of course it isn't there, as the entire folder has been moved to the root instead.
ok, but thats why I had you update the 2 urls when you moved the files. wordpress should be able to find that file, if you did that.
I would be interested in looking at what youve done, both via ftp and inside your admin area ( a screenshot of the url setting would satisfy that though), though it would help to be able to 1.) change your theme, and 2) disable your plugins, as I putz around.
If youre game, email me at whoo(AT)village-idiot(dot)org
Okay, I've send you an e-mail with a username.