Home › Forums › Bugs and Troubleshooting › warnings (errors?) when generating PDF
Tagged: open_basedir
- This topic has 6 replies, 2 voices, and was last updated 8 years, 1 month ago by admin.
-
AuthorPosts
-
LarryParticipant
Site URL: http://www.domain.com/lawyer/
Plugin folder: formidablepro-2-pdf
PHP version: 5.4.45
WP version: 4.6.1
FrmAppHelper: Yes
Trial: No
PDFTK: No
System: Linux host.myname.com 2.6.32-573.18.1.el6.x86_64 #1 SMP Tue Feb 9 22:46:17 UTC 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, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, Reflection, session, standard, shmop, SimpleXML, sockets, mbstring, tokenizer, xml, apache2handler, memcache, curl, dom, fileinfo, gd, imap, json, exif, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, soap, sqlite3, wddx, xmlreader, xmlwriter, xsl, zip, mhash, ionCube Loader, Zend Guard Loader
Plugins: cornerstone/cornerstone.php, formidable/formidable.php, formidablepro-2-pdf/fpropdf.php, wordfence/wordfence.php/var/www/vhosts/domain.com/httpdocs/lawyer/wp-content/plugins/formidablepro-2-pdf/fields is writable: Yes
/var/www/vhosts/domain.com/httpdocs/lawyer/wp-content/plugins/formidablepro-2-pdf/fields can have files: Yes
/var/www/vhosts/domain.com/httpdocs/lawyer/wp-content/plugins/formidablepro-2-pdf/fields write successful: Yes
/var/www/vhosts/domain.com/httpdocs/lawyer/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
/var/www/vhosts/domain.com/httpdocs/lawyer/wp-content/uploads/fpropdf-forms is writable: Yes
/var/www/vhosts/domain.com/httpdocs/lawyer/wp-content/uploads/fpropdf-forms can have files: Yes
/var/www/vhosts/domain.com/httpdocs/lawyer/wp-content/uploads/fpropdf-forms write successful: Yes
/var/www/vhosts/domain.com/httpdocs/lawyer/wp-content/uploads/fpropdf-forms delete successful: YesThis happened when activating form, but assuming it went away:
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/domain.com/httpdocs/lawyer/wp-content/plugins/formidablepro-2-pdf/fpropdf.php on line 1270but this is the main issue:
happens after I fill out form to create a PDF. its shown on the thank you page.
Warning: curl_setopt_array(): open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/vhosts/domain.com:/tmp) in /var/www/vhosts/domain.com/httpdocs/lawyer/wp-content/plugins/formidablepro-2-pdf/generate-pdf.php on line 343what seems odd to me —
a) File() — isn’t there a path or file usually in the ()?
b) domain.com:/tmp — why is the : there?however, this site has been used for years and done all kinds of stuff. I can’t comprehend how
some setting is wrong now?note1: i’m on a plesk server.
note2: I started out with the free version. then bought the $2 trial version (realized I had to reinstall the plugin)…. now I just bought the unlimited version and only entered my license number.
thanks for quick reply 🙂
adminKeymaster– Was the plugin working with the free or trial version?
We have not seen this error in the past, complete this form and we’ll take a look at the installation. If not possible, then send a screenshot of the plugin’s SETTINGS tab.
We remain at your service.
LarryParticipantthanks for the fast reply!
i believe the Warning: Invalid argument supplied for foreach() —> happened in all versions.
I believe the Warning: curl_setopt_array(): open_basedir restriction in effect –> happened after the $2 version was used.
sorry I can be more exact 🙁
I just don’t remember.thanks
LarryParticipantoh… i filled out the support form 🙂
adminKeymasterIssue appears to be resolved. There were several incomplete and/or non-working field map layouts for the same form that were causing an error when the plugin tried to create and attach them. The plugin will create and attach ALL field map layouts where the “Email Notification” function is set to YES.
We deleted all the unused field map layouts and tested the form without error. Take a look and let us know what you find. We remain at your service.
LarryParticipantthanks..
yes, don’t see the errors 🙂question — how did you delete the map layouts?
i was trying to figure that out 🙂thanks for help
adminKeymasterAfter selecting the Field Map Layout scroll to the bottom and click the button labeled “Delete Entire Map”, then confirm twice.
We remain at your service.
-
AuthorPosts