Here is the related issue #1434370: File (Field) Paths filename issue.

Create a content type called "Image Gallery"
Add a field called "plup" type > "Image", widget > Plupload
Set File path to "galleries/[node:nid]/"

File Path Options
checked - Cleanup using Pathauto.
checked - Transliterate.

File name
[file:ffp-name-only-original].[file:ffp-extension-original]
File Name Options
checked - Cleanup using Pathauto.
checked - Transliterate.

checked - Enable Alt field

Number of values - Unlimited
using the public files

Using the latest Drupal and
Modules in use:
plup 1.0-alpha1
Media-2.x-dev
File Entity-2.x-dev
http://drupal.org/project/plup
filefield_paths - 1.0-beta3
plupload - 1.0-beta4

Here is the error I get when I create a node.

Notice: Undefined index: host in _filefield_paths_replace_path() (line 285 of /home/quickstart/websites/tester.dev/profiles/da7/modules/contrib/filefield_paths/filefield_paths.module). (x5)

Notice: Undefined index: scheme in _filefield_paths_replace_path() (line 287 of /home/quickstart/websites/tester.dev/profiles/da7/modules/contrib/filefield_paths/filefield_paths.module). (x10)

Notice: Undefined index: host in _filefield_paths_replace_path() (line 287 of /home/quickstart/websites/tester.dev/profiles/da7/modules/contrib/filefield_paths/filefield_paths.module). (x5)

Comments

Fidelix’s picture

Category: support » bug

Just to say that I can confirm this problem.
Not sure if it's with plup or filefield_paths.

Anonymous’s picture

I'll look in to it.
----
a) Set File path to "galleries/[node:nid]/" - the backslash at the end shouldn't be there.
b) Try removing the pathauto cleanup(I'm never using this option).

gmclelland’s picture

Did as you said but I still get the same errors when I create a node.

Anonymous’s picture

That wasn't the solution just few notes :)

lissy’s picture

I get the error with Drupal 7.12 and File Field Path 7.x-1.0-beta3 also without Plup.
But the Image is saved in the right folder, defined with File Field Path.
I think i will change the error-Reporting for not showing the error to users.

Anonymous’s picture

Status: Active » Closed (works as designed)

Since this issue occures not only with Plup I'm closing this. Follow original issue here http://drupal.org/node/1434370