I apologize if this has already been submitted, but I am getting the following errors when trying to submit a comment -- which can be seen here: http://www.echochamberproject.com/comment/reply/624
"This discussion is closed: you can't post new comments."
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /www/echochamberproject/includes/menu.inc on line 351.
warning: Missing argument 1 for comment_reply() in /www/echochamberproject/modules/comment.module on line 374.
warning: Invalid argument supplied for foreach() in /www/echochamberproject/modules/node.module on line 363.
warning: implode() [function.implode]: Bad arguments. in /www/echochamberproject/modules/node.module on line 366.
user error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.moderate, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /www/echochamberproject/includes/database.mysql.inc on line 99.
Comments
Comment #1
KentBye commentedI thought that I would try to specify this problem a little bit more.
When viewing the node, I CAN enter comments when the comment box is displayed at the bottom.
When viewing multiple nodes, I CAN'T enter comments when a post has 0 comments, and I click on the "Add new comment" link from from page. I get the error specified here: http://drupal.org/node/30125
You can try this out by going to http://www.echochamberproject.com
When viewing multiple nodes, I CAN enter comments when there have already been comments added.
So these errors seem to be associated with trying to enter a comment when there are no other comments entered yet.
Comment #2
KentBye commentedI am also seeing these same errors when I try replying to a specific comment.
I can post new comments to the main thread when the dialogue box appears when I click on the node.
I can not "reply" to any specific comment, and I can not add a comment to a post from the front page or blog page by clicking on "Add new comment." -- Both situations give me the error: "This discussion is closed: you can't post new comments."
Comment #3
killes@www.drop.org commentedIs this based on today's cvs? If not can you please update and try to reproduce?
Comment #4
Kristof-1 commentedI have exactly the same error. PHP 5.0.5 Latest Drupal CVS.
Comment #5
killes@www.drop.org commentedhttp://drupal.org/node/31306 has a patch.