We cannot get an expected response but 'Access denied.' while using userpoint.get call after upgrade service module to 2.2, neither by adding a line like '#access callback => TRUE' in the old userpoint service module. Please have a look, thanks.

Comments

wastrilith2k’s picture

Component: Code: userpoints API » Code: userpoints

I am having this issue as well.

At /admin/build/services/browse/userpoints.points I get the following error when trying to pass data:

* warning: array_fill() [function.array-fill]: Number of elements must be positive in /home/jtforg/public_html/includes/database.inc on line 253.
* warning: implode() [function.implode]: Invalid arguments passed in /home/jtforg/public_html/includes/database.inc on line 253.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/jtforg/public_html/modules/user/user.module on line 515.
* 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 /home/jtforg/public_html/modules/user/user.module on line 515.

Is there a work-around for this?

Thanks,

James

manuel.adan’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing this as outdated, 6.x version is no longer maintained.