Jump to content

Client files 'invalid file' error


matt4

Recommended Posts

I'm trying to upload a client file which is 16mb. I've increased the php max upload limit to 50mb. However I received a invalid file error. Other smaller files will upload fine.

 

Am I missing something here?

 

Thanks,

Link to comment
Share on other sites

  • 8 months later...

Resolution: For file uploads, there are 2 settings you need to modify in the php.ini file: upload_max_filesize and post_max_size. upload_max_filesize should be set to the size of the largest file you wish to upload via a HTTP/HTTPS form (for example: 30M) and post_max_size should be set to at least that multiplied by the number of files you could expect to upload at one time. For example: if upload_max_filesize is set to 30M and you expect to ever upload only 2 files at once, post_max_size should be set to at least 60M.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated