Needs work
Project:
File (Field) Paths
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2011 at 05:36 UTC
Updated:
14 Apr 2025 at 19:53 UTC
Jump to comment: Most recent
I tried to install the latest update and now my path confirgurations give me an invalid token error when I try to use: [file:ffp:onlyname:original].[file:ffp:extension:original] which is what I was using before the update. I also tried to install the latest version of token
Clear the caches, as last step in the installation
Update the code, adding a cache clear as the last step of the installation.
Comments
Comment #1
h0tw1r3 commentedThose are not valid ffp tokens for 7.x-1.x, and never have been.
The only tokens ffp provides are:
[file:ffp-name-only]
[file:ffp-name-only-original]
[file:ffp-extension-original]
Comment #2
h0tw1r3 commentedComment #3
smurfxx commentedI have an error about this tokens, drupal tells me that [file:ffp-name-only-original] and [file:ffp-extension-original] are not valid!
Comment #4
eglawError message:
The File name is using the following invalid tokens: [file:ffp-name-only-original], [file:ffp-extension-original].
filefield_paths input field is in red.
Comment #5
smurfxx commentedBrowsing available tokens I found that the best tokens with transliteration module are
[file:ffp-name-only]
[file:extension]
It's better if you update the default token values to workaround these issues!
Comment #6
kris77 commentedIn available token there are "[file:name] and [file:extension]", so this works for me:
[file:name]. [file:extension]
I use last dev version.
Comment #7
ravi kant commentedThanks Kris77, It working for me.
Comment #8
nathan tsai commentedFlushing the caches worked for me (on Drupal 8)
Comment #9
chikeWao! Thanks @Nathan Tsai
I kept getting this error in Drupal 10 till I saw your post and flushed caches and the error was gone!
Comment #10
ressaThe module ought to clear caches itself as the last task of the installation, and not require the user to do it.
It's an inferior user experience to install this great module, only to get an error message first time you try to use it.
Because it's a pretty great module :)
Comment #11
ressaUpdating Issue Summary.