Forum Moderators: open
I'm desperate for some ideas (any ideas) to a problem I am having.
I have built a system for a client that allows them to upload jpegs to their site, and there is some server side processing to resize them etc.
Everything works fine... except for one thing.
The client can not upload any files bigger than 1mb. all examples below 1mb work fine, all examples above seem to fail.
I can upload the exact same files fine whatever the size. Other people I have asked to check can also upload them fine.
The client however gets an instant "page cannot be found" message when they try. No attempt is made to upload the file at all, it just bails out.
The MAX_FILE_SIZE parameter is set correctly and the file size is well within parameters.
There is nothing in the apache error/access logs to indicate it ever even received a request - so I'm pretty confident I can rule out all server side issues.
It looks like the point at which this breaks is exactly 1mb, but like I say, other people using IE do not have the same issue.
Can anyone make any suggestions?
I've seen a similar issue that has been quite difficult to reproduce and troubleshoot. The symptom of the web browser immediately displaying the 'page not found' message, instead of actually performing the HTTP POST is reported, but the causes and factors vary.
On one particular page that some users have trouble with, the form is for adding a forum reply. The form enctype is set to multipart and it contains an file input field. However, the user is not required to choose a file.
Some of the factors involved here is that the form is coming from a site that uses SSL; the form uses some JavaScript to validate that the filename, if one is chosen, doesn't have whacky characters; and the user doesn't always upload a file with the message. As far as I know, only MSIE on Windows XP SP2 has shown this problem.
Something that has caused a change in the behavior of the browser was setting the Temporary Internet File settings to check for a new version every time. Another weird thing is that hitting the refresh button after the failure occurs, and then filling out the form exactly the same way, will then allow the user to post the message without a problem. Weird.
Any ideas from your experience would be appreciated.