Closed (fixed)
Project:
File (Field) Paths
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Dec 2011 at 22:12 UTC
Updated:
25 Jun 2012 at 22:54 UTC
7.x-1.x-dev (2011-Nov-14)
When attempting to upload an image to a private file system path:
Warning: parse_url(private:///example.png) [function.parse-url]: Unable to parse URL in _filefield_paths_replace_path() (line 409 of /home/foo/public_html/sites/all/modules/filefield_paths/filefield_paths.module).
The image is successfully uploaded, however, when attempting to view the image I am returned with Access denied.
Original thread here: http://drupal.org/node/1381010
7.x-1.0-beta1 works fine.
Comments
Comment #1
a.milkovskyI'he got the same problem. I used next code on line 421
$new = str_replace('///','//',$new);
Comment #2
decipheredShould be resolved in the next dev release, but please re-open if not.
Comment #4
tamerzg commentedIt still happens with latest dev.
Comment #5
liquidcms commentedlatest -dev fixes for me.
Comment #6
decipheredDon't re-open close issue please, if it's related, reference the original issue, if not, create a new issue. And please make sure to check the dates against the releases, if the date is prior to a stable release then it implies the fix is in dev not in stable.