cotonti.com : ratings https://www.cotonti.com Son konu mesajları Cotonti en Thu, 23 Oct 2025 17:42:02 -0000 CorpQuid
"A variable type check failed, expecting P/INT for 'newrate' : null - /page.php?id=1&inr=send"

I took a look at the ratings template file from Sed-Light and compared them to my template ratings tpl file and the only change that I could see was at line 7

	$(function() {
		$('#rating_submit').click(


	$(function() {
		$('#rating_submit').hide();
		$('#rating_submit').click(

This looks like only the .hide was added, does anyone have anything different in there template that I could be missing?

Thanks for your help.

Peiter
The above was from the Axis4 template ratings.tpl FYI :-D]]>
Pzt, 20 Nis 2009 12:38:30 -0000
musashi9 A variable type check failed, expecting P/INT for 'newrate' : null - /page.php?id=1996&inr=send]]> Cum, 17 Nis 2009 19:49:01 -0000 pieter
http://www.cotonti.com/downloads/releases/genesis_4]]>
Cum, 17 Nis 2009 12:39:23 -0000
musashi9 Cum, 17 Nis 2009 08:34:24 -0000 pieter
Solved problem:
I copied the original ratings.tpl from sed-light.
I guess there was something changed in last version.]]>
Per, 16 Nis 2009 16:55:26 -0000
musashi9
NOTE this happens to me on a page with no ratings.
However when I put a high rating on a page that already has ratings of, lets say 4 stars (after my rating of 4 or 5 stars the final rating stars are set to only half a star, when they were set to 4 before my rating.

cotonti 0.0.3
(migration from sedito - contonti 0.0.2 - 0.0.3)

update. I just checked my logs and found this
A variable type check failed, expecting P/INT for 'newrate' : null - /page.php?id=1996&inr=send]]>
Per, 02 Nis 2009 10:19:22 -0000