WordPress.org

Ready to get started?Download WordPress

Forums

Cannot post comments. $HTTP_POST_VARS problem (7 posts)

  1. jmac
    Member
    Posted 10 years ago #

    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

  2. jmac
    Member
    Posted 10 years ago #

    bump -- help, anyone?

  3. jmac
    Member
    Posted 10 years ago #

    Still no help? Someone has to have some insight

  4. Laughinglizard
    Member
    Posted 10 years ago #

    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.

  5. jmac
    Member
    Posted 10 years ago #

    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

  6. Laughinglizard
    Member
    Posted 10 years ago #

    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?)

  7. jmac
    Member
    Posted 10 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.