The Project
I am getting ready to have the site go live. I have been building a new small Business Directory type of Drupal site using the "File (Field) Paths 7.x-1.0-beta3" (with the tokens) as part of the process of uploading images and then having them be moved into their proper directories when the Custom Content Type page is saved. From looking into the CPanel files area I see that when the images are loaded while the page is still in edit mode, the images are first loaded into the sites/default/files directory. Then, as the page is saved, the images are moved into their proper directories, (for example, sites/default/files/images/steves-auto-repair/personnel).
This has been working great! Thanks for this great module!.
The Use
I use this Field File Paths module with the Gallery Formatter module, Field Slideshow and Colorbox to create a slideshow on each node of a specific type. Here is a temporary sample page on my test site that displays what I'm doing: http://ida3-copy.independencedowntown.org/content/riverview-market This module is used to put the image files in individual group of directories for each business or organization. The names for the parent directories for each business automatically comes from the Title Field of each node.
The Problem
After I upgraded to beta 4, the images no longer appear to finish loading. The uploading process seems to get stuck (my mouse cursor has a revolving circle (indicating "busy") that just keeps hanging on and on and on). I looked in my CPanel Files section into the sites/default/files directory of my site and found that the image does upload to the sites/default/files folder. However, back on my content type page the upload (indicated by the "busy" cursor) seems to never finish loading.
Verifying the Problem
As an experiment, I went back into the sites/all/modules directory and deleted the "File (Field) Paths 7.x-1.0-beta4" folder and replaced it with the "File (Field) Paths 7.x-1.0-beta3" from my test site. After this the images started uploading again as before the upgrade.
The File/Path Settings
As a note about how I have it set up:
In the Images edit page, under "File (Field) Path settings" I have the File path as:
File Path
"images/organizations/[node:title]/premises"
File path options
X Cleanup using Pathauto.
X Transliterate.
File Name:
[file:ffp-name-only-original].[file:ffp-extension-original]
File name Options
X Cleanup using Pathauto.
X Transliterate.
In The File Directories
There are also corresponding settings for the Personnel directories. So, in our example below, there is a parent folder of steves-auto-repair with two child folders of "premises" and "personnel"
Directory Example:
steves-auto-repair (Parent Folder)
--premises (Child Folder)
--personell (Child Folder)
Question About Downgrading:
To Downgrade this module from beta 4 to beta 3 on my test site I just replace module's directory in the files section. Is there any problem to just do this same thing on my main site? Would it cause any problems to just downgrade the module this way? I should have made a database backup before I upgraded the module, but I didn't think about it. I do have an older backup that has the beta 3 version of the module, but it would cause me a lot of work re-enter all the data since that backup.
Best Wishes,
Stephen
Comments
Comment #0.0
Stephen Winters commentedediting changes
Comment #0.1
Stephen Winters commentedmaking additions and corrections.
Comment #1
Stephen Winters commentedUpdate on the issue. After making a duplicate website and database, I downgraded to beta 3. Then, after experimenting some more, I upgraded the duplicate website back up to beta 4. This time it worked. So I upgraded the main website back to beta 4, and now it works. I've been so busy that I didn't keep good notes, so I'm not sure what else I did. Anyway, beta 4 working now.
Best Wishes,
Stephen
Comment #1.0
Stephen Winters commentedMore Editing & Rewriting