[e2pdf-save] custom directory no longer working

Formidable Forms
July 28, 2021 06:20:25
pm
Topics: 2
Messages: 4
This is no longer working for me on one of my sites.
[e2pdf-save id="1" name="[512] [513] [id]" dir='wp-content/uploads/formidable/[118 show="user_email"]/' create_dir="true" overwrite="true"]
I even tried the following to be a bit simpler
[e2pdf-save id="1" name="[512] [513] [id]" dir="wp-content/uploads/formidable/" create_dir="true" overwrite="true"]
but no difference...

When i do this though
[e2pdf-save id="1" name="[512] [513] [id]"]
it goes to the default directory

Anyone know what has changed in the most recent version?
July 28, 2021 08:02:43
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

Can you try please to use following shortcode:

[e2pdf-save id="1" name="[512] [513] [id]" dir='wp-content/uploads/[118 show="user_email"]/' create_dir="true" overwrite="true"]

If it will work and it will create user email dir under uploads folder with PDF it can be permission issue.

If it will not work, try to use full path to dir as:

[e2pdf-save id="1" name="[512] [513] [id]" dir='/home/user/.../wp-content/uploads/formidable/[118 show="user_email"]/' create_dir="true" overwrite="true"]

You can find path by enabling "debug" mode at "E2Pdf" -> "Settings". And navigate to "E2Pdf" -> "Debug".

P.s. It was some bug fixes to current function, however they were released long time ago.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
July 28, 2021 11:08:41
pm
Topics: 2
Messages: 4
[e2pdf-save id="1" name="[512] [513] [id]" dir='/www/wp-content/uploads/formidable/[118 show="user_email"]/' create_dir="true" overwrite="true"]

worked when i done that and added www

strange when i downgraded to a version that is working on other sites it didn't work with the old way though.

I will make the www change on other sites with old version too though too future proof them of issues.

Might be worthwhile adding the www to your documentation as well cause the dir doc at the moment specifies only wp-content

thanks :)
July 28, 2021 11:15:46
E2Pdf
Topics: 7
Messages: 3617
Support
Thank you for letting us know. Currently your old shortcode must work, however maybe it was changed something with WordPress like multisite or by hosting provider which gives incorrect root path of WordPress installation. We will do further tests to be sure that it's not WordPress core changes.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.