March 30, 2017 at 7:35 am #12244
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 youMarch 30, 2017 at 9:14 am #12245
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.March 30, 2017 at 9:17 am #12246
No it’s not checked.
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
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 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: YesMarch 30, 2017 at 9:36 am #12247
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.March 30, 2017 at 11:14 pm #12256
What form do I have to complete ?March 31, 2017 at 9:30 am #12261April 1, 2017 at 2:38 am #12270
Ok, thank you that’s done 🙂April 27, 2017 at 3:32 am #13004YOANNGuest
No answer since March 31st?April 27, 2017 at 4:55 am #13008
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.May 4, 2017 at 10:56 pm #13424YOANNGuest
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 …May 5, 2017 at 5:02 am #13455
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.
Problem generating PDF
- This topic has 10 replies, 3 voices, and was last updated 3 years, 8 months ago by .
Viewing 11 posts - 1 through 11 (of 11 total)
Viewing 11 posts - 1 through 11 (of 11 total)