Support » Fixing WordPress » Cannot post comments. $HTTP_POST_VARS problem

  • jmac

    (@jmac)


    Hey, this is re: http://www.socialwrite.com , which is running the latest wordpress install.
    When a user tries to leave a comment, from a page such as http://www.socialwrite.com/archives/2004/01/29/backpackersxpress/ , they get a “Error: please type a comment.” each time. When I do a var dump on wp-comments-post, they variables just aren’t there.
    I have checked my site URL setting, as suggested in other posts, and it is proper.
    Does anyone have any insights, I have been working on it for quite a while now, and haven’t managed a solution.
    – Jevon

Viewing 6 replies - 1 through 6 (of 6 total)
  • jmac

    (@jmac)

    bump — help, anyone?

    jmac

    (@jmac)

    Still no help? Someone has to have some insight

    Laughinglizard

    (@laughinglizard)

    1) Check with your webhost
    2) Try enabling pop-up comments to see if those work. If that does work, look at #3
    3) Is there some sort of a redirection going on? Is the real url of your website something other than http://www.socialwrite.com where socialwrite.com is a dummy html or php redirect page?
    For example: My server at http://test.my-ip.com has my WP blog. I buy http://www.test.com and have the registrar url redirect all traffic from http://www.test.com to http://test.my-ip.com In that case, all of WP will work fine except the comment post from the main index page.

    jmac

    (@jmac)

    o.k. Here is what it was (this should be looked at).
    My Virtual host in Apache is set as http://www.socialwrite.com, but my Base URL was entered as just socialwrite.com, so, because socialwrite.com was set as an alias for http://www.socialwrite.com in my httpd.conf, so it was doing a rewrite (but I have never seen this cause a problem in losing $POST variables).
    – Jevon

    Laughinglizard

    (@laughinglizard)

    That makes sense. The reason that a rewrite of a url breaks the comments is because of the structure of the index.php and the posting of comments. It really is a multiple redirect post (to make things look seamless to the user). Comments popup is a single post with no redirection and thus works. (did it work in your case?)

    jmac

    (@jmac)

    No, the popup window didn’t work either. A little weird.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot post comments. $HTTP_POST_VARS problem’ is closed to new replies.