Closed (fixed)
Project:
FillPDF
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2009 at 21:43 UTC
Updated:
19 Feb 2010 at 08:40 UTC
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
Comment #1
mrshark commentedsame 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...
Comment #2
lefnire commentedit's because the fillpdf servlet is offline for now, see http://drupal.org/node/545798
Comment #3
lefnire commentedservlet's back online, download the latest version & follow installation instructions. Re-open if still having trouble!