Note that there are some explanatory texts on larger screens.

plurals
  1. PODrupal Comment Form Missing
    text
    copied!<p>I've inherited a Drupal 6 project and I am in need of a comment form on one of my pages. The module is enabled and the content type is set to allow for comments.</p> <p>The permissions are set as follows:</p> <ul> <li>Anonymous User: Access Comments, Post Comments </li> <li>Authenticated User: Access Comments, Post Comments </li> <li>Content Admin: Access Comments, Administer Comments, Post Comments, Post Comments Without Approval</li> </ul> <p>A link displays below the page contents, "Add new comment." Clicking this link takes me to the URL <code>comment/reply/28#comment-form</code>, which is displaying the same content and nothing new. I believe there should be a form displaying on this page, but I cannot for the life of me figure out what I am missing.</p> <p>The site is on a custom theme - is there somewhere that I need to make a PHP call to show the form on a page? I searched through a couple of the other themes(that apparently come standard with Drupal) and could find no reference other than <code>comment.tpl.php</code>, which is identical to the one in this custom theme.</p> <p><strong>EDIT</strong>: Per Oswald's suggestion in an answer below, I installed the Theme Developer add-on to try to track down what is going on. The results of going into devel mode on the page in question are as follows:</p> <pre><code>... (Object) stdClass nid (String, 2 characters ) 28 type (String, 5 characters ) story language (String, 0 characters ) uid (String, 1 characters ) 1 status (String, 1 characters ) 1 created (String, 10 characters ) 1311112998 changed (String, 10 characters ) 1311113045 comment (String, 1 characters ) 2 promote (String, 1 characters ) 0 moderate (String, 1 characters ) 0 sticky (String, 1 characters ) 0 tnid (String, 1 characters ) 0 translate (String, 1 characters ) 0 vid (String, 2 characters ) 28 revision_uid (String, 1 characters ) 1 title (String, 12 characters ) testimonials body (String, 2076 characters ) Lorem Ipsum blah blah blah teaser (String, 554 characters ) Lorem Ipsum blah blah blah log (String, 0 characters ) revision_timestamp (String, 10 characters ) 1311113045 format (String, 1 characters ) 1 name (String, 8 characters ) blahblahblah picture (String, 0 characters ) data (String, 72 characters ) a:1:{s:13:"form_build_id";s:37:"form-4fad331ed7... last_comment_timestamp (String, 10 characters ) 1311112998 last_comment_name (NULL) comment_count (String, 1 characters ) 0 taxonomy (Array, 0 elements) </code></pre> <p>The only thing that stood out to me was the <code>data</code> section, the full contents of which are: <code>a:1:{s:13:"form_build_id";s:37:"form-4fad331ed7e2000d316142aaf87c302f";}</code>.</p> <p>The parents of the page <code>/comment/reply/28#comment-form</code> are <code>theme_markup &lt; node &lt; page</code>. The candidate function names are <code>templatename_markup &lt; phptemplate_markup &lt; theme_markup</code>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload