WordPress.org

Ready to get started?Download WordPress

Forums

Comments not being posted!!! (11 posts)

  1. vicarious
    Member
    Posted 8 years ago #

    I am setting up a WordPress blog for a client...we are able to initiate posts on the blog, but whenever anyone attempts to make a comment, or if the administrator attempts to respond to a comment, they receive a 404 error. I noticed that the URL that the browser attempts to load reads thusly:

    http://www.hansten.com/wordpress/wp-content/themes/default/http://www.hansten.com/RROHC/Weblog/wp-comments-post.php

    Am I incorrect in assuming that this is a great big bowl of wrong? Unfortunately I am not a programmer, so I don't have a clue how to fix this. Any suggestions, anyone? Many thanks.

  2. moshu
    Member
    Posted 8 years ago #

    That's absolutely wrong.
    The blog is here:
    http://www.hansten.com/RROHC/Weblog/
    Why is this http://www.hansten.com/wordpress address appearing?
    What do you have in the two URI fields in Options > General?

  3. vicarious
    Member
    Posted 8 years ago #

    I have "http://www.hansten.com/RROHC/Weblog", in both fields...I'm assuming since you ask that this is incorrect???

  4. moshu
    Member
    Posted 8 years ago #

    That's correct, if the blog is there.
    Next question: any redirects in place? That usually screws up royally the permalinks...

  5. vicarious
    Member
    Posted 8 years ago #

    Where would I check for these redirects?

  6. moshu
    Member
    Posted 8 years ago #

    Aren't you the one working on the website? :)
    Another question: is there/was there ever a WP install at that address that pops up: http://www.hansten.com/wordpress ?

    Who is hosting that site? I saw the sticky doesn't work there either... There is a group of hosts where it has to be modified; maybe they are related (but don't quote me on that).

  7. vicarious
    Member
    Posted 8 years ago #

    Yeah, well, I never claimed to be the sharpest tool in the shed...my question about the redirects still stands. The site is being hosted by olm.net...and, yes, there might have been a previous install that perhaps wasn't wiped clean from the MySQL database...I ended up going into the code and manually changing the href info on the comment form, and it seems to be working okay...but I'm afraid I might have missed something, somewhere, that's going to bite me in the ... tail...

    By the way, thanks for your time...nice to know I can at least get someone to ask a few intelligent questions. 'Preciate it.

  8. moshu
    Member
    Posted 8 years ago #

    I ended up going into the code and manually changing the href info on the comment form,

    Hmmm... in the comments.php it should be like:
    action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php"

    What href did you change?

  9. vicarious
    Member
    Posted 8 years ago #

    "../../../../wordpress/wp-content/themes/default/" preceded "<?php echo get_option('siteurl'); ?>" on all the actions...I had to go in and delete that first part...only problem is, I'm not sure I got them all...and I still haven't been able to figure out how they got there in the first place...

  10. moshu
    Member
    Posted 8 years ago #

    It seems whoever installed the previous one (i.e. at http://www.hansten.com/wordpress ) they edited the files for some unknown reason and later the same set of files has been copied over to the new installation.

    If you think that more files have been altered, just download a fresh copy of your version and upload it.
    I think it's WP 1.5.2 - and you can find it here:
    http://static.wordpress.org/archive/ - at the bottom.

    When you have the set of WP files unzipped, just upload the files to their location - keep one eye on files YOU have changed, not to over-write them.
    Do NOT run any install and or upgrade, just upload the new files and go and see your blog.

  11. vicarious
    Member
    Posted 8 years ago #

    Thanks...I am using GoLive as my http://FTP...it seems to be corrupting the code as it uploads to the server...I ended up using Fetch, then going in and basically rebuilding the blog from the ground up (no real sweat there...I only had two posts to worry about, and a handful of other information...seems to be working fine thus far.

    Thanks for the ideas.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.