IMPORTANT UPDATE: Please DOWNLOAD and update the Formidable PRO2PDF to the Latest Version!

Problem generating PDF

Home Forums Bugs and Troubleshooting Problem generating PDF

  • This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #12244 Reply
    YOANN
    Participant

    Hi,
    I’ve installed all required plugins.
    But when i click to download PDF, I’ve got this message :
    There was an error generating the PDF file.
    The command was: pdftk ‘/home/xxxxxxx/public_html/wp-content/uploads/fpropdf-forms/invitation-light-web.pdf’ fill_form ‘/tmp/fpropdfTmpFileMfAc8B’ output –
    sh: pdftk: command not found

    Any idea ?

    Thank you

    #12245 Reply
    admin
    Keymaster

    Please confirm that the “Use Local PDFtk” option is not selected on the Pro2PDF settings tab.

    Is confirmed and the problem still exists please provide a screenshot of the settings tab and the under the hood tab.

    We remain At Your Service.

    #12246 Reply
    YOANN
    Participant

    No it’s not checked.
    [URL=http://www.hostingpics.net/viewer.php?id=786444491.jpg][IMG]http://img4.hostingpics.net/pics/786444491.jpg[/IMG][/URL]

    Under the hood content :

    Site URL: http://my-website.fr/
    Plugin folder: formidablepro-2-pdf
    PHP version: 5.6.30
    WP version: 4.7.3
    FrmAppHelper: Yes
    Trial: No
    PDFTK: No
    System: Linux lardon.o2switch.net 2.6.32-673.26.1.lve1.4.18.el6.x86_64 #1 SMP Fri Oct 21 11:58:14 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
    CURL: 7.19.7
    CURL error: No
    CURL test: Yes
    PHP Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, litespeed, bcmath, bz2, ctype, curl, dom, enchant, mbstring, fileinfo, ftp, gd, gettext, iconv, imap, intl, json, ldap, exif, mcrypt, mysqlnd, mysql, mysqli, imagick, memcache, memcached, redis, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, mhash, ionCube Loader, Zend Guard Loader, Zend OPcache
    Plugins: adviframe731/advanced-iframe.php, backwpup/backwpup.php, business-opening-hours-pro/bizohours.php, contact-form-7/wp-contact-form-7.php, duplicate-page/duplicatepage.php, envato-wordpress-toolkit-master/index.php, favicon-by-realfavicongenerator/favicon-by-realfavicongenerator.php, formidable/formidable.php, formidablepro-2-pdf/fpropdf.php, i-recommend-this/dot-irecommendthis.php, imagify/imagify.php, lj-maintenance-mode/lj-maintenance-mode.php, loco-translate/loco.php, menu-icons/menu-icons.php, menu-image/menu-image.php, nk-google-analytics/NKgoogleanalytics.php, planyo/planyo.php, remove-admin-menus-by-role/remove-admin-menus-by-role.php, revslider/revslider.php, shortcode-widget/index.php, sitepress-multilingual-cms/sitepress.php, socialsider/socialsider.php, taxonomy-terms-order/taxonomy-terms-order.php, uncode-core/uncode-core.php, uncode-daves-wordpress-live-search/uncode-daves-wordpress-live-search.php, uncode-js_composer/js_composer.php, uncode-related-posts-for-wp/uncode-related-posts-for-wp.php, vc_clipboard/vc_clipboard.php, vcparticlesbackground/vcparticlesbackground.php, webmaster-user-role/webmaster-user-role.php, woocommerce/woocommerce.php, wordpress-seo/wp-seo.php, wp-automatic/wp-automatic.php, wp-limit-login-attempts/wp-limit-login-attempts.php, wp-rocket/wp-rocket.php, wpml-string-translation/plugin.php, wpml-translation-management/plugin.php

    /home/laserworld/public_html/wp-content/plugins/formidablepro-2-pdf/fields is writable: Yes
    /home/laserworld/public_html/wp-content/plugins/formidablepro-2-pdf/fields can have files: Yes
    /home/laserworld/public_html/wp-content/plugins/formidablepro-2-pdf/fields write successful: Yes
    /home/laserworld/public_html/wp-content/plugins/formidablepro-2-pdf/fields delete successful: Yes
    /tmp is writable: Yes
    /tmp can have files: Yes
    /tmp write successful: Yes
    /tmp delete successful: Yes
    /home/laserworld/public_html/wp-content/uploads/fpropdf-forms is writable: Yes
    /home/laserworld/public_html/wp-content/uploads/fpropdf-forms can have files: Yes
    /home/laserworld/public_html/wp-content/uploads/fpropdf-forms write successful: Yes
    /home/laserworld/public_html/wp-content/uploads/fpropdf-forms delete successful: Yes

    #12247 Reply
    admin
    Keymaster

    If the plugin has never worked, we may need to take a look at your installation. If possible for us too login, please complete this form. If not possible, then try the following;
    . Remove and Reinstall the plugin
    . Confirm the plugin’s demo receives the same error.
    . Disable all plugins except Formidable’s and if it works add them back one at a time to find the conflict.
    . Check that the Formidable Forms plugin folder is “Formidable” and nothing else.

    Let us know as we remain at your service.

    #12256 Reply
    YOANN
    Participant

    What form do I have to complete ?

    #12261 Reply
    admin
    Keymaster

    Please complete this form.

    We remain at your service.

    #12270 Reply
    YOANN
    Participant

    Ok, thank you that’s done 🙂

    #13004 Reply
    YOANN
    Guest

    No answer since March 31st?

    #13008 Reply
    admin
    Keymaster

    Hummm… the following replied was sent to your email address on April 1st…

    …….

    Hi! The issue was caused by the size of the PDF Form being over 16GB! Way too big for the plugin to process. A one page PDF should be no more than 650kb, even with a full size high-def image.

    We’ve optimized and re-uploaded your PDF Form to the plugin and now all works as expected. You’ll notice the PDF fields now have a dropdown list on the Field Map Layout, as they should. In the future, if you don’t see a dropdown list of field names then the PDF was not recognized.
    EXAMPLE MERGE: http://laser-world-paris.fr/wp-admin/admin-ajax.php?action=wpfx_generate&form=5jkdf&layout=12&dataset=3&format=pdf&inline=1&key=f2c205e04ad947716ac01df404a5aa4a

    NOTE: My French is not so good, so you will need to set the correct PDF fields to match your Formidable fields on the field map layout and then re-save the layout… http://laser-world-paris.fr/wp-admin/admin.php?page=fpdf&wpfx_form=5jkdf&wpfx_layout=12&wpfx_dataset=3

    FYI: To optimize the PDF we ran Acrobat’s “Optimize PDF” and then ran the “Combine Files” function to create a new copy of the PDF and the file size reduced from 16MB to 626k! A HUGE difference! Also, we will change the plugin’s error message to provide a better description of the too large file issue. Thank you for bringing this to our attention!

    We remain at your service.

    #13424 Reply
    YOANN
    Guest

    Thank you, but I don’t understand why my generated PDF has always the same informations when I complete the form.
    I disable cache, and same problem …

    #13455 Reply
    admin
    Keymaster

    Sounds like you need to correct the dataset parameter to dataset=[id] to generate a PDF with the current entry.

    Please paste your shortcode here for further assistance or provide additional information for evaluation.

    We remain at your service.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: Reply #12256 in Problem generating PDF
Your information: