An error occured while registering your rating. Please try again

May 3, 2009 at 6:34 PM
Dear all,

I have just installed BE 1.5.0.7, and I try to vote my post, I got this error:
An error occured while registering your rating. Please try again

http://blog.vi-vn.com

Please help me to solved my problem,
Many thank,
NeonQuach
Coordinator
May 3, 2009 at 7:39 PM
It looks like the rating is getting recorded correctly.  If you refresh the page after giving it a rating, the number of people who gave a rating should increase.  Also note, because a cookie is used, you can only vote once per browser.

The reason for that error message is because the response coming back to the browser after the vote has been registered includes some form of HTML advertising from GoDaddy.  If you navigate to the URL below, you'll see what I mean:

http://blog.vi-vn.com/rating.axd?id=a68b8d1a-5348-456a-9416-32b170d2a9b0&rating=5

The response coming back should just be "5OK" or "5HASRATED".  The first one comes back if it's your first time to rate a post.  The second one comes back if you've already rated a post.

With that URL above, the HTML coming back includes the 5OK / 5HASRATED in addition to the advertising HTML ...

5HASRATED</object></layer></span></div></table></body></html><!-- adsok -->
<script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>

Everything after "5HASRATED" is unexpected and is what is causing the error message you're seeing.