Closed (fixed)
Project:
ImageField
Version:
6.x-3.7
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
5 Aug 2010 at 04:43 UTC
Updated:
6 Dec 2010 at 23:35 UTC
Content Construction Kit (CCK) 6.x-3.x-dev
ImageField 6.x-3.7
Public Files directory
ImageField configured (max res=283x283,throbber,path-settings=[title-raw],everything else default)
Expect upload to /files/Woodcrest Christian High School/[title-raw]
actually get upload to /files/Woodcrest Christian High School/files/Woodcrest Christian High School/[title-raw]
Steps to reproduce: I change my drupal core file system from sites/hs.wcsroyals.org/files to files/Woodcrest Christian High School
Comments
Comment #1
modulo49 commentedCorrection: it does get uploaded to the correct location, but it tries to view it at the wrong location.
Comment #2
modulo49 commentedokay, so I figured out the glitch. Don't use spaces in any of your File System sub-directories.
Comment #3
Matt G commentedAnother workaround is to use a symbolic link so the file path "links back around," even if Drupal produces a file path repeat:
From terminal type:
ln -s /var/www/drupal/sites /var/www/drupal/sites/DOMAIN.com/files/sitesDiscussed here: http://drupal.org/node/989428#comment-3795074