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.

Commenting suddenly not available in new entries

December 27, 2008 2:11am

Subscribe [3]
  • #1 / Dec 27, 2008 2:11am

    mjds

    29 posts

    My version of ExpressionEngine is 1.6.6 Build:20081212.

    Comments are enabled for the weblog.

    Comments display and can posted on older entries fine.

    But now when I try to post a new entry I get the following message, no comments or comment form:

    “Commenting is not available in this section entry.”

    (Obviously no comments as no form is available for people to post to).

    But the entry options has Allow Comments selected.

    I have not changed any other general settings.

    Any ideas how I can make comments be enabled on new blog entries?

  • #2 / Dec 27, 2008 7:46pm

    Derek Jones

    7561 posts

    Is there a comment expiration date set for the entry that is not allowing comments?

  • #3 / Dec 28, 2008 12:26am

    mjds

    29 posts

    There is no expiration entry date set (also clicked clear and saved just in case).

    Also in the weblog management comment expiration is set to 0.

    It’s not just one entry either - it’s all new entries.

  • #4 / Dec 28, 2008 9:55am

    Derek Jones

    7561 posts

    Of any of the entries that it does not work, get the entry id, and run the following queries in the SQL Manager, please, letting me know the results.  Replace ‘1’ in the code below with the real entry id.

    SELECT allow_comments, weblog_id, comment_expiration_date FROM exp_weblog_titles WHERE entry_id = 1

    And also with the weblog_id returned by the above query (4 used here as an example) run:

    SELECT comment_system_enabled FROM exp_weblogs WHERE weblog_id = 4

    You may just cut and paste the results.

  • #5 / Dec 28, 2008 1:50pm

    mjds

    29 posts

    Thanks Derek.

    OK here are the results:

    allow_comments   weblog_id   comment_expiration_date
    y             7               0

    comment_system_enabled
    y


    The actual entry though (viewed through the template) still has comments closed.

  • #6 / Dec 28, 2008 4:22pm

    Derek Jones

    7561 posts

    Thanks, the next step would be to make a reduction template.  On a new, blank template, place only the comment form and comment entries tag (you can use the base tag shown in the user guide), and then access that template with either the entry id or the url title of the entry in the URL, and see if the behavior persists.

  • #7 / Dec 28, 2008 9:09pm

    mjds

    29 posts

    Okie dokie - if I access by entry ID the comment form appears. But if I access by url title I get the comments are closed message.

    Past entries (even from a few days earlier) are fine by accessing both by entry id and url title.

  • #8 / Dec 28, 2008 9:45pm

    Derek Jones

    7561 posts

    Are you using the weblog= parameter in your tag?  Can you please paste your full tag(s) here please?

  • #9 / Dec 28, 2008 10:08pm

    mjds

    29 posts

    Yes I’m using that parameter on both the entry and the comment template (the comment template is embedded into the entry page).

    {exp:comment:entries weblog="womb_quake" limit="100" style="linear"}
  • #10 / Dec 29, 2008 10:51am

    Derek Jones

    7561 posts

    I’d like for you to try this on a reduction template only, please.  No embedding, nothing but the base sample tags from the user guide.

  • #11 / Dec 29, 2008 12:58pm

    mjds

    29 posts

    I get the same results - a comment form shows up when accessed by the entry ID, but when accessed by the url title the message “Commenting is not available in this section entry.” comes up.

  • #12 / Dec 29, 2008 1:02pm

    Greg Aker

    6022 posts

    mjds:

    Can you please paste your full reduced code here for us to see?

    Thanks,

    -greg

  • #13 / Dec 29, 2008 1:09pm

    mjds

    29 posts

    Sure.

    {exp:comment:entries sort="asc" limit="20" weblog="womb_quake"}
    
    {comment}
    
    By {name} on {comment_date format="%Y %m %d"}
    
    {/exp:comment:entries}
    
    {exp:comment:form preview="wombquake/preview"}
    
    {if logged_out}
    
    Name: <input type="text" name="name" value="{name}" size="50" /></p>
    
    Email: <input type="text" name="email" value="{email}" size="50" /></p>
    
    Location: <input type="text" name="location" value="{location}" size="50" /></p>
    
    URL: <input type="text" name="url" value="{url}" size="50" /></p>
    
    {/if}
    
    <textarea name="comment" cols="70" rows="10">{comment}</textarea></p>
    
    <input type="checkbox" name="save_info" value="yes" {save_info} /> Remember my personal information
    
    <input type="checkbox" name="notify_me" value="yes" {notify_me} /> Notify me of follow-up comments?
    
    <input type="submit" name="submit" value="Submit" />
    <input type="submit" name="preview" value="Preview" />
    
    {/exp:comment:form}
  • #14 / Dec 29, 2008 1:28pm

    Greg Aker

    6022 posts

    mjds:

    What extensions, if any do you have running in Admin -> Utilities -> Extensions Manager? 

    -greg

  • #15 / Dec 29, 2008 4:47pm

    mjds

    29 posts

    Just these:

    Tag Submit (v.2.6.1)
    Akismet Check (v.1.1)
    Freeform Spam Prevention (v.1.0.2)
    Comment Spam Prevention (v.1.1)
    jQuery for the Control Panel (v.1.1.1)

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

ExpressionEngine News!

#eecms, #events, #releases