This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
PHP Warning: filesize() when using Advanced Uploader
Started 12 years ago by freeze2 | 6 posts |
-
When using the following settings:
1. Advanced Uploader Enabled
2. Limit File Upload Type checked
3. Automatically Upload Files checked
4. Limit File Size checkedI receive the following page error upon submitting the form:
PHP Warning: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for ./data/form_1/files/element_9_d76920e071204e82158c2ef8454b53a3-2-file.pdf in /path-to-forms/includes/entry-functions.php on line 205
Any help would be appreciated...thanks!
Posted 12 years ago # -
Hmm.. is the file being uploaded correctly on your server? Try to check into your entries section and download the file from there.
MachForm Founder
Posted 12 years ago # -
Hi Yuniar, I just checked and yes, the file was properly uploaded to our server.
Doing some more testing, I found that the confirmation email sent to the user that is filling out the form receives the following data on the confirmation email:
Upload File: file.pdffile.pdf
It seems as though something is doubling up...not sure
Posted 12 years ago # -
I have done some more testing here and again, this problem seems to arise when using the "PHP Embed Code"
Using the javascript code the page functions as it should without any errors...though the confirmation email still shows:
Upload File: file.pdffile.pdf
Posted 12 years ago # -
Can you contact us directly and let us know the URL to your page please? We'll check it.
MachForm Founder
Posted 12 years ago # -
Thanks Yuniar...info has been sent.
Posted 12 years ago #
Reply
You must log in to post.