Hi coroico,
I tried that several times. The table always is properly created, but rating isnt possible on that server. I also reinstalled the snippet and files several times, but no luck. On the other server it went smoothly out of the box... So I called the hoster and Im moving on a MySQL5 server this night. Will see if this does the trick.
Okay, I just took another look and compared the two tables on server A (MySQL 4.0) and server B (MySQL 5.0):
A:
`modx_atRating_test` (`id`, `rating_id`, `rating`, `lastIP`, `nbIP`, `voteDate`) VALUES
(1, 'german:all:0', 5, '@FILE:assets/snippets/anythingRating/templates/anythingRating.tpl.html', 1000000, '361231000000');
B:
INSERT INTO `modx_atRating_test` (`id`, `rating_id`, `rating`, `lastIP`, `nbIP`, `voteDate`) VALUES
(1, 'german:all:0', 5, '@FILE:assets/snippets/anythingRating/templates/anythingRating.tpl.html', 1000000, '2036-12-31 00:00:00'),
The two tables differ in the column voteDate! Obviously MySQL 4.0 isn’t capable of the Attributes you create with your snippet:
A:
Feld Typ Attribute Null Standard Extra Aktion
voteDate timestamp(10) Nein
B:
Feld Typ Attribute Null Standard Extra Aktion
voteDate timestamp ON UPDATE CURRENT_TIMESTAMP Nein CURRENT_TIMESTAMP
I think this could be the reason?!
I tried to change the Attribute on A, but there is no ON UPDATE CURRENT_TIMESTAMP and setting of Standard by hand also doesn`t work....
Thanks for your help, I will report tomorrow!