Forums

[resolved] Comments go to 404 (41 posts)

  1. pshoeg
    Member
    Posted 10 months ago #

    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?

  2. whooami
    Member
    Posted 10 months ago #

    and my .htaccess file is writable

    thats not the source of your trouble, but you dont want that world-writable, if it is.

  3. pshoeg
    Member
    Posted 10 months ago #

    thats not the source of your trouble, but you dont want that world-writable, if it is.

    How is Chmod 666 for that?

  4. whooami
    Member
    Posted 10 months ago #

    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.

  5. pshoeg
    Member
    Posted 10 months ago #

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

  6. whooami
    Member
    Posted 10 months ago #

    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.

  7. pshoeg
    Member
    Posted 10 months ago #

    It doesn't change it. I even redownloaded Kubrick, but without any luck...

    You can see my site at stiern.com.

  8. whooami
    Member
    Posted 10 months ago #

    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?

  9. pshoeg
    Member
    Posted 10 months ago #

    Yes, the file is at that place... I also downloaded the file once again at reuploaded it...

  10. whooami
    Member
    Posted 10 months ago #

    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?

  11. pshoeg
    Member
    Posted 10 months ago #

    I created one manually in the database, it's at the top of the page now.

  12. whooami
    Member
    Posted 10 months ago #

    well that wont work ..

    disable your plugins. see if that fixes it.

  13. pshoeg
    Member
    Posted 10 months ago #

    Nope, still doesn't do it...

  14. whooami
    Member
    Posted 10 months ago #

    ok, last chance, what do your error logs say?

  15. pshoeg
    Member
    Posted 10 months ago #

    Where do I see them?

  16. kontan
    Member
    Posted 10 months ago #

    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: www.kontansplace.com

    Post with comments: http://www.kontansplace.com/2008/12/31/blog-green-1/

    Help appreciated, thanks

  17. whooami
    Member
    Posted 10 months ago #

    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?

  18. pshoeg
    Member
    Posted 10 months ago #

    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.

  19. whooami
    Member
    Posted 10 months ago #

    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.

  20. pshoeg
    Member
    Posted 10 months ago #

    You talked about, that it didn't save the comment id... Is it maybe because some file is chmoded wrong?

  21. whooami
    Member
    Posted 10 months ago #

    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.

  22. pshoeg
    Member
    Posted 10 months ago #

    Okay, so I moved all the files to the root and changed it in the settings, but still - the comments don't work!

  23. kontan
    Member
    Posted 10 months ago #

    trying to prevent having multiple threads with similar issues whooami

    nevermind.

  24. pshoeg
    Member
    Posted 10 months ago #

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

  25. whooami
    Member
    Posted 10 months ago #

    change your permalinks to defualt? and why are there still files in your site directory?

  26. pshoeg
    Member
    Posted 10 months ago #

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

  27. whooami
    Member
    Posted 10 months ago #

    ok, so now that resulting page is blank -- whats in that error log now?

  28. pshoeg
    Member
    Posted 10 months ago #

    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.

  29. whooami
    Member
    Posted 10 months ago #

    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

  30. pshoeg
    Member
    Posted 10 months ago #

    Okay, I've send you an e-mail with a username.

Reply »

You must log in to post.

About this Topic

Tags