Hi, I tried to install the snippet, but it doesn`t run properly. Are there some requirements like MySQL5 or PHP5?
The server I try to install it has the following settings:
PHP 5.2.5
MySQL 4.0.23
My Ditto Call:
[!AnythingRating? &atrGrp=`test` &define=`1` &language=`english-utf8`!]
[!Ditto? &parents=`0` &tpl=`tpl_test` &display=`10`!]
Ditto tpl:
<div><h3>[+pagetitle+]</h3>
[[AnythingRating? &atrGrp=`test` &atrId=`[+id+]` &init=`3`]]</div>
I see the stars, but if I vote, I get "ERROR:" above the stars and "undefined" in the green box where the status bar was. In Firebug the ajax request is sent (same output as on your test site).
The same thing without ditto and the atr call on a document.
Any help appreciated!
edit: I discovered some weird entries in the database. The table arating_test is created and filled with only one vote. These data isnt correct I think:
`id`, `rating_id`, `rating`, `lastIP`, `nbIP`, `voteDate`
VALUES
(1, ’german:all:0’, 5, ’@FILE:assets/snippets/anythingRating/templates/anythingRating.tpl.html’, 1000000, ’361231000000’);
rating is okay, but rating_id and lastIP are definitely wrong...