This project is read-only.

Comments not saving - issue with 'EnableWebsiteInComments' setting

Topics: ASP.NET 2.0
Jan 31, 2011 at 2:30 AM

After hours of trying to work out why comments were not saving, with the js error of "Object Required", I traced it down to "BlogEngine.comments.websiteBox" being null.  This is due to the admin setting "<label for="ctl00_cphAdmin_cbEnableWebsiteInComments">Enable Website in Comments" being unchecked (admin settings -> Comment settings -> Appearance).  Once I enabled this setting, the comments were being saved.</label>

By 'not saving' I mean, once 'save comment' is clicked, the label 'Saving comment...' is displayed (next to the animated timer gif), then the js error shows in IE.  This then stays like this.

Any thoughts...


Feb 1, 2011 at 5:42 PM


Any one else have this issue?

Feb 1, 2011 at 11:10 PM

Yes, I have the same hanging comment issue, it is sufficient to click on comment preview.

However, the problem does not exist if I use standard theme instead of mine.

Feb 2, 2011 at 8:17 PM
Edited Feb 2, 2011 at 8:17 PM

You are right : commenting hangs if "Enable Website in Comments" is unchecked and the problem can be reproduced with Indigo theme.
Standard theme does not have this problem as it always displays Website

In case of my theme, I had another problem with following code in site.master.cs which I had to remove

protected override void OnLoad(EventArgs e)

Do not remember anymore, why I introduced this code at the first place  ( I guess that was needed in some older BE version ? ).

Feb 3, 2011 at 2:19 AM

Looks like code to make website field optional introduced this bug, we'll have to fix it.

Mar 7, 2011 at 4:11 PM
Edited Mar 7, 2011 at 4:13 PM

I am having a similar issue with being able to post comments in but I can't get comments to work in the standard theme either.  

Would love a fix for this!  Thank you for your time (I'm a BE donater).


Apr 3, 2013 at 1:14 PM
When I'm in a local host can post messages on the blog but not send messages on the server and does nothing. It returns these two errors:

ReferenceError: Page_ClientValidate is not defined

Could anyone help me?