когда нажимаешь ссылку add to playlist под любой из песен, выдает следующее:
* warning: array_fill() [function.array-fill]: Number of elements must be positive in Z:\home\test1.ru\www\includes\database.inc on line 240.
* warning: implode() [function.implode]: Bad arguments. in Z:\home\test1.ru\www\includes\database.inc on line 240.
* warning: array_keys() [function.array-keys]: The first argument should be an array in Z:\home\test1.ru\www\modules\user\user.module on line 500.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in Z:\home\test1.ru\www\modules\user\user.module on line 500.
как исправить ошибку??