Seems like its not picking up the file alias field. Regardless if I enter a value or not.

user warning: Column count doesn't match value count at row 1 query: INSERT INTO filefield_paths (type, field, filename, filepath, filealias) VALUES ('testcontent', 'field_testzip', 'a:4:{s:5:\"value\";s:44:\"[filefield_paths-name].[filefield_paths-ext]\";s:7:\"tolower\";i:0;s:8:\"pathauto\";i:0;s:13:\"transliterate\";i:0;}', 'a:4:{s:5:\"value\";s:18:\"mytmp/tmp/[nid]\";s:7:\"tolower\";i:0;s:8:\"pathauto\";i:0;s:13:\"transliterate\";i:0;}') in /mnt/drupal/sites/all/modules/filefield_paths/filefield_paths.module on line 281.

Comments

deciphered’s picture

Status: Active » Postponed (maintainer needs more info)

Did you run update.php?

nextpulse’s picture

Found bug:

missing %s:

Line 279: "INSERT INTO {filefield_paths} (type, field, filename, filepath, filealias) VALUES ('%s', '%s', '%s', '%s', '%s')",

deciphered’s picture

Status: Postponed (maintainer needs more info) » Active

Oops, bad merge :)
Will fix it ASAP.

Thanks.

deciphered’s picture

Status: Active » Fixed

Fixed (finally) in HEAD, DRUPAL-6--1 and DRUPAL-6.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.