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


  1. freeze2
    Member

    When using the following settings:

    1. Advanced Uploader Enabled
    2. Limit File Upload Type checked
    3. Automatically Upload Files checked
    4. Limit File Size checked

    I 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 #
  2. yuniar

    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 #
  3. freeze2
    Member

    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 #
  4. freeze2
    Member

    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 #
  5. yuniar

    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 #
  6. freeze2
    Member

    Thanks Yuniar...info has been sent.

    Posted 12 years ago #

RSS feed for this topic

Reply