WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wp-comments-post.php instead of posting the comment (14 posts)

  1. jgal713
    Member
    Posted 1 year ago #

    Hi,

    I've tried everything to fix this! My site is http://www.stevens.edu/calstudentblogs/ and I'm trying to fix the comments. Everything looks great until I click to post the comment. Instead of posting, I get this page http://www.stevens.edu/calstudentblogs/wp-comments-post.php

    I have no idea what's going on. The comments do not work in twenty eleven, either, so I have no idea what I've done.

    Any ideas?

    Thank you.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Can we see the site using the Twenty Eleven theme with all plugins deactivated?

  3. jgal713
    Member
    Posted 1 year ago #

    Here you go
    http://www.stevens.edu/calstudentblogs/

    All plugins deactivated and Twenty Eleven live.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Sorry - you've reverted to the other theme again.

  5. jgal713
    Member
    Posted 1 year ago #

    there - it's back to twenty eleven... sorry had to keep it switched since it's a live site. it's on 2011 now.

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    Try resetting your custom permalinks back to the default setting via Settings -> Permalinks. If this works, then review Using_Permalinks before setting a custom permalink structure back up again.

  7. jgal713
    Member
    Posted 1 year ago #

    After resetting it back to default, it displays this when i try to post a comment:

    The requested URL /calstudentblogs/wp-comments-post.php was not found on this server.

  8. jgal713
    Member
    Posted 1 year ago #

    Not Found

    The requested URL /calstudentblogs/wp-comments-post.php was not found on this server.

    Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 Server at http://www.stevens.edu Port 80

    is this a server problem then?

  9. esmi
    Forum Moderator
    Posted 1 year ago #

    Could be a problem with missing files. Try re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

  10. jgal713
    Member
    Posted 1 year ago #

    ok i've done as you say, when i visit the URL i'm getting this

    There doesn't seem to be a wp-config.php file. I need this before we can get started.

    Need more help? We got it.

    You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.

    i presume this means i should get that file, and then perhaps all my problems will be solved? :)

  11. jgal713
    Member
    Posted 1 year ago #

    any idea how to create a wp-config file, on that point? because i do not know!

  12. esmi
    Forum Moderator
    Posted 1 year ago #

    Did you delete all of the files on the root folder? wp-config.php isn't in the WordPress download, so it shouldn't be deleted. it's specific to your site and is created during the install process. You can re-create it using a copy of the wp-config-sample.php file but you will need to obtain your database hostname, name, your database username and its associated password.

  13. jgal713
    Member
    Posted 1 year ago #

    GREAT NEWS!!!
    it's all fixed and comments work. THANK YOU so much. :D Your help has been fantastic!!!

  14. esmi
    Forum Moderator
    Posted 1 year ago #

    Excellent! Glad I could help :-)

Topic Closed

This topic has been closed to new replies.

About this Topic