I was wondering on possible cause for filefield_sources Remote URL functionality. php5-curl is installed on server and functioning. When I input remote URL for file download, it starts process and displays progress bar. Although for short time, above progress bar, error is given, which dissapears in a while - file is kept uploded and provided with additional fields. The error says:
An HTTP error 404 ocurred ./filefield/remote/progresss/story/field_attachments/0
Where does filefield/remote/progress folders should be, as I could not find in ./sites/default/files one?
Comments
Comment #1
jrstmartin commentedDid you find a solution to this? I'm in the same boat...
Comment #2
jrstmartin commentedRight, I spent 2 days trying to resolve this and had to give up :/ I'd like to mention a few things to make this issue more clear:
I read in the Filefield issue queue about similar issues, but none are the same or relevant. Any help would be greatly appreciated. Screenie also attached. Thanks...
Comment #3
buddaI had this problem.
It was caused by the filefield being on a user profile form which was shown at sign up time to anonymous users.
The catch was that anonymous users had no access to content on the site - thus no "access content" permission.
The path
'filefield/remote/progress/%/%/%'is restricted by'access arguments' => array('access content'),.Does your user role have 'access content' granted? Saying that - getting a 404 error would be wrong, you should be getting a 403 error if the above was the case. Hmm.
Comment #4
quicksketchFor now let's just change the access check to be TRUE, always granting access. It doesn't do anything other than check a cache, so it's not a particularly dangerous file path.
Comment #6
jrstmartin commentedWorks. Thanks Nate! :))