Hi,
when trying to use the "generate fields from PDF" i get the following error:

warning: Invalid argument supplied for foreach() in /path/to/site/sites/default/modules/fillpdf/fillpdf.module on line 515.

anyone come across this? My form has 140 fields, and i'd really prefer to not have to do this by hand.

thanks!

Server: FreeBSD 7.1
Drupal 6.13
fillpdf-6.x-1.2.tar.gz

Comments

mrshark’s picture

same here, but line is 514...

also, uploading a pdf put it in the right dir: sites\default\files\fillpdf
but in my case the site is not at the root, but in a subdirectory...
after uploading, the URL field reported does NOT contain the subdirectory... i have:
http://localhost/sites/default/files/fillpdf/richiesta.pdf
but it really must be:
http://localhost/drupal/sites/default/files/fillpdf/richiesta.pdf
as said, in the filesystem it's ok, it's only the reported url to be wrong...

lefnire’s picture

it's because the fillpdf servlet is offline for now, see http://drupal.org/node/545798

lefnire’s picture

Version: 6.x-1.2 » 6.x-1.x-dev
Category: support » bug
Status: Active » Fixed

servlet's back online, download the latest version & follow installation instructions. Re-open if still having trouble!

Status: Fixed » Closed (fixed)

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