ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

EE 2.1.4 Beta Cannot Add Comments

February 16, 2011 4:49pm

Subscribe [7]
  • #1 / Feb 16, 2011 4:49pm

    Trevor Davis

    39 posts

    After upgrading to 2.1.4 beta, I was completely unable to add comments. I did’t receive any message, it just submitted the form and reloaded the page without adding the comment.

    I reverted /system/expressionengine/modules/comment/mod.comment.php back to it’s 2.1.3 version, and I was able to add comments.

  • #2 / Feb 17, 2011 7:36am

    Sue Crocker

    26054 posts

    Hi, Trevor.

    Tell us more about the site. Is it a local install, on a professionally managed server?

  • #3 / Feb 17, 2011 10:15am

    Trevor Davis

    39 posts

    This was happening on my local build (powered by MAMP) and on the production site hosted with Webfaction.

    I’m not at home right now, so I’m not sure on the version of PHP on my local build, but the production site is using PHP Version 5.2.11.

  • #4 / Feb 17, 2011 1:44pm

    Sue Crocker

    26054 posts

    Hi, Trevor. I just posted 20 comments for a test on 2.1.4beta using the Agile Theme on a MAMP install..

  • #5 / Feb 18, 2011 1:04am

    Trevor Davis

    39 posts

    Anything that I can provide to help debug?

    This is my comment template:

    {exp:comment:form entry_id="{embed:entry_id}" channel="{embed:channel}"}
        <h3>What do you have to say?</h3>
    <p>    <ol class="forms"><br />
            <li><label for="name">Name</label><input type="text" class="required-field" value="{name}" id="name" name="name" /></li><br />
            <li><label for="email">Email</label><input type="text" class="required-field" value="{email}" id="email" name="email" /></li><br />
            <li><label for="url">Website</label><input type="text" value="{url}" id="url" name="url" /></li><br />
            <li><label for="comment">Comment</label><textarea id="comment" name="comment" class="required-field"></textarea></li><br />
            <li class="screen-reader"><label for="honeepot">Leave this field blank</label><input type="text" name="honeepot" id="honeepot" tabindex="999" /></li><br />
            <li class="inline"><input type="checkbox" value="yes" id="save_info" name="save_info" {save_info} /><label for="save_info">Can I save your info for additional comments?</label></li><br />
            <li class="inline"><input type="checkbox" value="yes" id="notify_me" name="notify_me" {notify_me} /><label for="notify_me">Can I notify you of follow-up comments?</label></li><br />
            <li class="buttons"><button type="submit">Add Your Comment →</button></li><br />
        </ol><br />
    {/exp:comment:form}

  • #6 / Feb 18, 2011 8:25am

    Sue Crocker

    26054 posts

    Try simplifying your template - put the code directly in a single entry template outside of your exp:channel:entries loop. See if that makes a difference.

  • #7 / Feb 18, 2011 11:54pm

    Trevor Davis

    39 posts

    I grabbed the comment form from here: http://ellislab.com/expressionengine/user-guide/modules/comment/form.html

    And I am still getting the same result on my local build.

  • #8 / Feb 20, 2011 3:30pm

    Greg Salt

    3988 posts

    Hi Trevor,

    Did you try this on a template that is not embedded?

    Cheers

    Greg

  • #9 / Feb 20, 2011 10:21pm

    Trevor Davis

    39 posts

    Yep, the entire channel entries tag along with the comments and comment form are in one template now.

  • #10 / Feb 21, 2011 10:45am

    Sue Crocker

    26054 posts

    Are you running any sort of third party add-ons? If so, which ones?

  • #11 / Feb 21, 2011 11:24am

    Trevor Davis

    39 posts

    Below is everything I’ve got. I disabled extensions when testing though.

    Modules
    Comment 2.2
    Mailinglist 3.0
    Query 1.0
    Referrer 2.0
    Rss 1.0
    Stats 2.0
    Rest 1.5.1
    Channel 2.0.1
    Search 2.1
    Freeform 3.0.2
    Nsm Morphine Theme 1.0.0
    Low Reorder 1.1.1

    Extensions
    Low Nospam 2.2.0
    Matrix 2.1.3
    Scroll To Comment 1.0.0
    Low Seg2cat 2.5.1
    Nsm Htaccess Generator 1.0.2
    Beech 0.1
    Honeepot 0.2
    Cp Analytics 1.0.1

    Accessories
    Nsm Morphine Theme 1.0.0
    Low Nospam 2.1.1
    Template Variables 1.1
    Health Check 0.1.0
    Usability 1.0.0
    Cp Analytics 1.0.1

  • #12 / Feb 22, 2011 2:40am

    John Henry Donovan

    12339 posts

    Trevor,

    Yep, the entire channel entries tag along with the comments and comment form are in one template now.

    And to confirm. The comment form is not nested in any other tag like the channel entries tag?
    Can you disable your htaccess and try

    If that fails can you quickly install another instance of the EE beta locally and this time install with the Agile Theme. Test comments there then please

  • #13 / Feb 22, 2011 10:35pm

    Trevor Davis

    39 posts

    The comment form is inside a channel entries tag. Is that not allowed? I disabled my htaccess and still had the same problem.

    I was able to install another instance of the beta locally with the Agile Theme, and comments did post correctly.

  • #14 / Feb 23, 2011 10:59am

    Sue Crocker

    26054 posts

    Hi, Trevor. Take a look at the Agile theme, you’ll see that the comments form is *outside* the exp:channel:entries tag.

  • #15 / Feb 23, 2011 11:01am

    Trevor Davis

    39 posts

    Is this something new with 2.1.4 though? I’ve had the comment form inside the exp:channel:entries tag going back to 1.6.8 and everything worked fine until this point.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases