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

Upload Error


  1. acraigtwins
    Member

    We keep getting the following error on one of our forms.

    Warning: filesize() [function.filesize]: stat failed for ./data/form_30721/files/element_18_66ea5a0c6c1a45284238f19ac9ce5c26-109-EPA_CarPar2013summary.docx.tmp in C:\inetpub\charlotteparent\machform\includes\entry-functions.php on line 390

    Can you give me any insight of what could be happening when the user is trying to upload their file.

    Posted 11 years ago #
  2. AMurray
    Pro Member

    From a quick google search on this error, some other forums users have posed this question and response indicate this may be related to a read/write error. Check the permissions (CHMOD) on the folder that stores the uploaded files - should be Chmod 755 or 777(?).
    the folder would be the "files" folder e.g. within the folder struction like "data/form_X/files"

    It also mentions file size, so I would also check if you have any file size limit placed (check the upload field properties/options). The user may be uploading a file bigger than the limit you have set.

    Also, you might need to check the php.ini file (if you have access and change a couple of settings there - if you can't acces that file, ask your host to change the setting (if allowed).

    Posted 11 years ago #

RSS feed for this topic

Reply