Closed (fixed)
Project:
Services
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2011 at 12:55 UTC
Updated:
29 Jul 2011 at 20:24 UTC
I try to upload some files using file.create - only the first one is uploaded correctly.
While trying to upload second one I always get:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function '_file_resource_access' not found or invalid function name in services_controller_execute() (line 141 of /etc/drupal7/all/modules/services/services.runtime.inc)
After clearing all caches I can upload files again.
Comments
Comment #1
slazyk commentedComment #2
kylebrowning commentedFile resource definition was missing its fil declarative for each resource method, this has been fixed in 6.x and 7.x