Jump to content

Recommended Posts

Posted (edited)

After getting a string of spam comments advertising I AM A SPAMMER sites I decided to require Type Key registrating for commenting on my blog.

 

However, after following all the configuration instructions it's not working. My husband set up a free Type Key account and attempted to comment, but he got an error message saying he wasn't allowed to comment. In addition to that there was a really weird string of numbers and letters in the form box where his email would be.

 

Being frustrated I tried putting everythng back the way it was, allowing non-registered commeners but setting it so they have to be approved before they show up, but it still is not working and he's still getting the same error message.

 

I tried posting a test comment myself and I'm also getting the error message, but not the weird string of numbers and text in the email area.

 

Anyone have any idea what's wrong? I'd really love to get the registered commenters thing working, but if not how can I at least get things back to a working condition?

 

Also, yes, I AM rebuilding the site after every change and it's still not working. And I'm assuming that I don't need to do anything in the code itself, that choosing the proper settings in the MT control pannel will do all of that automatically ... correct?

 

Here's what the error looks like

 

27811992-O.jpg

Edited by maggieroofus
Posted

1) I've seen the e-mail address showing a string of characters before - it appeared to me the cookie that stores the info sometimes gets garbled for some unknown reason. I've always just deleted the characters and re-entered the correct e-mail address, and that seemed to fix the problem.

 

2) MT displays the "You are not allowed to post comments." message when your IP is banned within MT. You might check the IP ban list (Weblog Config -> IP Banning) and make sure that you haven't banned yourself accidentally, or have a blank IP address banned (which bans everyone from posting comments).

 

3) I believe your comment form is not working correctly because there are line breaks in the comment form code that really should not be there. Some examples I see, just looking at the "View Source" HTML:

 

This code:

><script type="text/javascript" 

src="http://moonjuice.us/mt/mt-comments.cgi?__mode=cmtr_name_js"></script><script>document.write(comme

nter_name);</script>.

...should all be on one line:

><script type="text/javascript" src="http://moonjuice.us/mt/mt-comments.cgi?__mode=cmtr_name_js"></script><script>document.write(commenter_name);</script>.

 

This form tag's code:

><form method="post" action="http://moonjuice.us/mt/mt-comments.cgi" name="comments_form" 

onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">

...should all be one line:

><form method="post" action="http://moonjuice.us/mt/mt-comments.cgi" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">

 

All of this code:

><input type="radio" id="remember" name="bakecookie" /><label 

for="remember">Yes</label><input type="radio" id="forget" name="bakecookie" 

onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label 

for="forget">No</label><br style="clear: both;" />

</p>

...is supposed to be on one line:

><input type="radio" id="remember" name="bakecookie" /><label for="remember">Yes</label><input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label for="forget">No</label><br style="clear: both;" /></p>

 

This javascript code:

>   document.write('You are not signed in. You need to be registered to comment on this 

site. <a href="https://www.typekey.com/t/typekey/login?&lang=en&t=k1c4jseL4C5o1vs0CJFJ&v=1.1&_return=http://moonjuice.us/mt/mt-comments.cgi%3f__mode=handle_sign_in%26static=1%26entry_id=76"> Sign in</a>');

...is supposed to be on one line:

>   document.write('You are not signed in. You need to be registered to comment on this site. <a href="https://www.typekey.com/t/typekey/login?&lang=en&t=k1c4jseL4C5o1vs0CJFJ&v=1.1&_return=http://moonjuice.us/mt/mt-comments.cgi%3f__mode=handle_sign_in%26static=1%26entry_id=76"> Sign in</a>');

 

If you go into your template and delete the extra line breaks at the places I've indicated, your comment form stand a much higher chance of working. :)

Posted
1) I've seen the e-mail address showing a string of characters before - it appeared to me the cookie that stores the info sometimes gets garbled for some unknown reason.  I've always just deleted the characters and re-entered the correct e-mail address, and that seemed to fix the problem.

 

2) MT displays the "You are not allowed to post comments." message when your IP is banned within MT.  You might check the IP ban list (Weblog Config -> IP Banning) and make sure that you haven't banned yourself accidentally, or have a blank IP address banned (which bans everyone from posting comments).

 

3) I believe your comment form is not working correctly because there are line breaks in the comment form code that really should not be there.  Some examples I see, just looking at the "View Source" HTML:

 

This code:

><script type="text/javascript" 

src="http://moonjuice.us/mt/mt-comments.cgi?__mode=cmtr_name_js"></script><script>document.write(comme

nter_name);</script>.

...should all be on one line:

><script type="text/javascript" src="http://moonjuice.us/mt/mt-comments.cgi?__mode=cmtr_name_js"></script><script>document.write(commenter_name);</script>.

 

This form tag's code:

><form method="post" action="http://moonjuice.us/mt/mt-comments.cgi" name="comments_form" 

onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">

...should all be one line:

><form method="post" action="http://moonjuice.us/mt/mt-comments.cgi" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">

 

All of this code:

><input type="radio" id="remember" name="bakecookie" /><label 

for="remember">Yes</label><input type="radio" id="forget" name="bakecookie" 

onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label 

for="forget">No</label><br style="clear: both;" />

</p>

...is supposed to be on one line:

><input type="radio" id="remember" name="bakecookie" /><label for="remember">Yes</label><input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label for="forget">No</label><br style="clear: both;" /></p>

 

This javascript code:

>   document.write('You are not signed in. You need to be registered to comment on this 

site. <a href="https://www.typekey.com/t/typekey/login?&lang=en&t=k1c4jseL4C5o1vs0CJFJ&v=1.1&_return=http://moonjuice.us/mt/mt-comments.cgi%3f__mode=handle_sign_in%26static=1%26entry_id=76"> Sign in</a>');

...is supposed to be on one line:

>   document.write('You are not signed in. You need to be registered to comment on this site. <a href="https://www.typekey.com/t/typekey/login?&lang=en&t=k1c4jseL4C5o1vs0CJFJ&v=1.1&_return=http://moonjuice.us/mt/mt-comments.cgi%3f__mode=handle_sign_in%26static=1%26entry_id=76"> Sign in</a>');

 

If you go into your template and delete the extra line breaks at the places I've indicated, your comment form stand a much higher chance of working.  :)

 

You know, I did ban a couple of IP address (the ones the spam came from) I'm wondering now if they somehow made their IP address show as mine. Can they do that?

 

As for the code, I'm assuming this is all in the main index code ... right? I have no idea how the lines got broken since I haven't touched the code in over a month.

 

Puzzling.

 

I'm going to go check out the IP banning and see if that helps. wish me luck!

Posted
1) I've seen the e-mail address showing a string of characters before - it appeared to me the cookie that stores the info sometimes gets garbled for some unknown reason.  I've always just deleted the characters and re-entered the correct e-mail address, and that seemed to fix the problem.

 

2) MT displays the "You are not allowed to post comments." message when your IP is banned within MT.  You might check the IP ban list (Weblog Config -> IP Banning) and make sure that you haven't banned yourself accidentally, or have a blank IP address banned (which bans everyone from posting comments).

 

3) I believe your comment form is not working correctly because there are line breaks in the comment form code that really should not be there.  Some examples I see, just looking at the "View Source" HTML:

 

This code:

><script type="text/javascript" 

src="http://moonjuice.us/mt/mt-comments.cgi?__mode=cmtr_name_js"></script><script>document.write(comme

nter_name);</script>.

...should all be on one line:

><script type="text/javascript" src="http://moonjuice.us/mt/mt-comments.cgi?__mode=cmtr_name_js"></script><script>document.write(commenter_name);</script>.

 

This form tag's code:

><form method="post" action="http://moonjuice.us/mt/mt-comments.cgi" name="comments_form" 

onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">

...should all be one line:

><form method="post" action="http://moonjuice.us/mt/mt-comments.cgi" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">

 

All of this code:

><input type="radio" id="remember" name="bakecookie" /><label 

for="remember">Yes</label><input type="radio" id="forget" name="bakecookie" 

onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label 

for="forget">No</label><br style="clear: both;" />

</p>

...is supposed to be on one line:

><input type="radio" id="remember" name="bakecookie" /><label for="remember">Yes</label><input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label for="forget">No</label><br style="clear: both;" /></p>

 

This javascript code:

>   document.write('You are not signed in. You need to be registered to comment on this 

site. <a href="https://www.typekey.com/t/typekey/login?&lang=en&t=k1c4jseL4C5o1vs0CJFJ&v=1.1&_return=http://moonjuice.us/mt/mt-comments.cgi%3f__mode=handle_sign_in%26static=1%26entry_id=76"> Sign in</a>');

...is supposed to be on one line:

>   document.write('You are not signed in. You need to be registered to comment on this site. <a href="https://www.typekey.com/t/typekey/login?&lang=en&t=k1c4jseL4C5o1vs0CJFJ&v=1.1&_return=http://moonjuice.us/mt/mt-comments.cgi%3f__mode=handle_sign_in%26static=1%26entry_id=76"> Sign in</a>');

 

If you go into your template and delete the extra line breaks at the places I've indicated, your comment form stand a much higher chance of working.  :)

 

Thank you SO much! Somehow I HAD banned my own IP address. How, I have no idea. It's funny, the thought did cross my mind, but I didn't give it much thought because I couldn't figure out how it would have happened.

 

Thank you SO much.

 

I'm going to get in there and check out the code later tonight. Thanks again!

Posted
1) I've seen the e-mail address showing a string of characters before - it appeared to me the cookie that stores the info sometimes gets garbled for some unknown reason.  I've always just deleted the characters and re-entered the correct e-mail address, and that seemed to fix the problem.

 

2) MT displays the "You are not allowed to post comments." message when your IP is banned within MT.  You might check the IP ban list (Weblog Config -> IP Banning) and make sure that you haven't banned yourself accidentally, or have a blank IP address banned (which bans everyone from posting comments).

 

3) I believe your comment form is not working correctly because there are line breaks in the comment form code that really should not be there.  Some examples I see, just looking at the "View Source" HTML:

 

This code:

><script type="text/javascript" 

src="http://moonjuice.us/mt/mt-comments.cgi?__mode=cmtr_name_js"></script><script>document.write(comme

nter_name);</script>.

...should all be on one line:

><script type="text/javascript" src="http://moonjuice.us/mt/mt-comments.cgi?__mode=cmtr_name_js"></script><script>document.write(commenter_name);</script>.

 

This form tag's code:

><form method="post" action="http://moonjuice.us/mt/mt-comments.cgi" name="comments_form" 

onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">

...should all be one line:

><form method="post" action="http://moonjuice.us/mt/mt-comments.cgi" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">

 

All of this code:

><input type="radio" id="remember" name="bakecookie" /><label 

for="remember">Yes</label><input type="radio" id="forget" name="bakecookie" 

onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label 

for="forget">No</label><br style="clear: both;" />

</p>

...is supposed to be on one line:

><input type="radio" id="remember" name="bakecookie" /><label for="remember">Yes</label><input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label for="forget">No</label><br style="clear: both;" /></p>

 

This javascript code:

>   document.write('You are not signed in. You need to be registered to comment on this 

site. <a href="https://www.typekey.com/t/typekey/login?&lang=en&t=k1c4jseL4C5o1vs0CJFJ&v=1.1&_return=http://moonjuice.us/mt/mt-comments.cgi%3f__mode=handle_sign_in%26static=1%26entry_id=76"> Sign in</a>');

...is supposed to be on one line:

>   document.write('You are not signed in. You need to be registered to comment on this site. <a href="https://www.typekey.com/t/typekey/login?&lang=en&t=k1c4jseL4C5o1vs0CJFJ&v=1.1&_return=http://moonjuice.us/mt/mt-comments.cgi%3f__mode=handle_sign_in%26static=1%26entry_id=76"> Sign in</a>');

 

If you go into your template and delete the extra line breaks at the places I've indicated, your comment form stand a much higher chance of working.  :)

 

I'm really confused. I see this code when I view the source code, but can NOT for the life of me figure out what template it's in or how it got broken in the first place as it's not in my main index code or any of the other templates I've actually worked with.

 

Where should I be looking for this?

Posted
If you go into your template and delete the extra line breaks at the places I've indicated, your comment form stand a much higher chance of working.  :)

 

I found all of the broken code, but am still very puzzled about how it ended up like that as it was in a template that I've never touched and the code was generated automatically when I configured the posting rules.

 

Strange. But it's fixed non-the-less. Thank you!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...