• Having an issue with my comments.
    Only recently I was asked how do I leave a comment on your site? I said click the comments link and fill out the form. What form is the response. The uh, let me look, oh, thats strange its not there…
    The comments form, previous comments, etc aren’t showing. However, I can see the comments from within the admin area. It seems to me that the include to pull wp-comments.php may not be working. But I know about as much about PHP as I do about the rise of the stapler in the late 40’s.
    here is the “feedback” div from my index.php

    <div class="feedback">
    <?php link_pages('
    Pages: ', '
    ', 'number'); ?>
    <?php comments_popup_link('Comments (0)', 'Comments (1)', 'Comments (%)'); ?>
    </div>
    <!--
    <?php trackback_rdf(); ?>
    -->
    <?php include(ABSPATH . 'wp-comments.php'); ?>
    </div>

    Does everything there look correct? On a side note, when I upgraded to 1.2 the login went missing, and I hade to hardcode the path into the “login” link. To see the site and perhaps understand what I’m talking about visit http://www.2littlewhos.com/blog
    Thank you for your consideration.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You have still got the wp-comments.php file in there?

    Under Options > Disscussion, do you have “allow people to post comments…” checked?

    Thread Starter burnardm

    (@burnardm)

    Root: Yes, I was able to edit it with the template editor.
    MattRead: Yes, and the posts have allow comments checked.

    Well this has to be a url kind of thing doesnt it? Or maybe a chmod.

    What happens if you try switching to pop up comments? Do those work?

    Thread Starter burnardm

    (@burnardm)

    I set the path to the absolute path /home/stuff/in/the/middle/blog/wp-comments.php and no luck there…

    Yeah, I just figured it could maybe be a way to see where a problem might be, but I wasn’t sure if it would actually prove anything or not. 🙂
    If you want to try it, just to see, then you would find the lines in index.php (in the head section, just a couple lines above the body) that say
    <?php //comments_popup_script(); // off by default ?>
    and then remove those first two //

    I am having this same issue. First, the comments link would display X number of comments, but if you clicked the link, it would move you to the individual page for that entry, with the same comments line, but no comments display and no comments form. Clicking Comments would just reload the page. I’ve had this problem since I first installed WordPress last night, even with the default templates.
    Today, I installed the Show/Hide plugin and the show/hide comments hack. My edited comments line has a link to “Show Comments” which does finally display comments, but the subsequent “Add Comment” link doesn’t. It just moves to the individual entry page which has the original comment line and problem.
    My current code is this:
    <div class="posted">
    Posted by <b><?php the_author() ?></b> @ " rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_time() ?> :: <?php include(ABSPATH . 'wp-dropdown-comments.php'); ?>
    </div>
    <!--
    <?php trackback_rdf(); ?>
    -->
    <?php include(ABSPATH . 'wp-comments.php'); ?>

    I’ve never made any changes to wp-comments.php.
    The page in question is located at http://fov.midnightgarden.com/

    Any ideas?

    I finally got my issue resolved. How I managed it is posted in another support thread – http://ww.wp.xz.cn/support/3/9420

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Comments went missing (form and all)’ is closed to new replies.