Index: filefield_field.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/filefield/filefield_field.inc,v retrieving revision 1.18 diff -u -r1.18 filefield_field.inc --- filefield_field.inc 15 Mar 2009 06:21:21 -0000 1.18 +++ filefield_field.inc 17 Mar 2009 04:36:56 -0000 @@ -173,6 +173,11 @@ } // Add nid so formatters can create a link to the node. $items[$delta]['nid'] = $node->nid; + + // Verify the file exists on the server. + if (!empty($item['filepath']) && !file_exists($item['filepath'])) { + watchdog('filefield', 'FileField was trying to display the file %file, but it does not exist.', array('%file' => $item['filepath'])); + } } }