Comments not being saved

Topics: ASP.NET 2.0
May 8, 2011 at 4:06 AM
Edited May 8, 2011 at 4:07 AM

It appears that comments are not being saved. When clicking on the save button the systems just says "Saving the comment...." and ... nothing more. I checked a few comments with the same issue : the Compress WebResource.axd was disabled. I also disabled the HTTP compression. My blog is here

Coordinator
May 8, 2011 at 7:49 AM

This is a known problem if you have the "Enable Website in Comments" option turned off in the Comment settings, a JavaScript error occurs preventing comments from being added.  You can either turn setting on ... or, it looks like this was fixed in a recent developer build by making a change to blog.js in the Scripts folder.  The change in blog.js is around line 102, where you probably have:

var website = BlogEngine.comments.websiteBox.value;

... if you change that line to the following, I think it should fix it:

var website = BlogEngine.comments.websiteBox ? BlogEngine.comments.websiteBox.value : "";
May 8, 2011 at 7:56 PM

Enable Website In Comments was turned on; I changed the line you mentionned but it didn't change a thing.

Had to have it working so I switched to Disqus