Check that exec() is enabled on the server

Created on 10 February 2023, almost 2 years ago
Updated 11 February 2023, almost 2 years ago

Problem/Motivation

I'm running Drupal 9.4.2, FillPDF 5.0.0, and PDFTK Java 3.3.3.

I'm attempted to upload various PDFs but FillPDF is not detecting any fields. I've tried reverting the Adobe PDF version back to 6, 7, and 8 but that didn't work. I've tried a known working PDF and that didn't work. I've also verified that /usr/bin/pdftk is correct. I am able to generate PDFs with the templates that I already have uploaded. I'm just not able to create a new template and have FillPDF see the fillable fields.

Steps to reproduce

Upload PDF with fillable fields. No fields are detected.

✨ Feature request
Status

Active

Version

5.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States noahzenzen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @noahzenzen
  • πŸ‡¨πŸ‡¦Canada liquidcms

    speaking on OP's behalf:

    The same server has another copy of the site and the same PDF file works as expected there. Comparing the fillpdf settings of the 2 i see the 1 which is not working has no options available for Server Locale (the working one has en_US.utf8). But looking in the db i see the correct value is assigned in the config table for fillpdf.settings (possibly because i set the value in the settings.php to see if that helped).

  • πŸ‡¨πŸ‡¦Canada liquidcms

    nvm.. problem solved. exec is not enabled on the server.

    wonder if it wouldn't be a bad idea to have FillPDF to a check for exec and list on the state report if not enabled?

  • πŸ‡ΊπŸ‡ΈUnited States noahzenzen

    Confirming that this issue can be closed. Exec just needed to be enabled for the domain on the server.

  • πŸ‡¨πŸ‡¦Canada Liam Morland Ontario, CA πŸ‡¨πŸ‡¦

    Patch welcome.

Production build 0.71.5 2024