Page 1 of 1

File upload Error 3

Posted: Wed Jul 25, 2007 10:03 am
by Jello
Hi,

this is a banging head of the wall kinda moment. Have a basic upload script that has been working fine for me all day and suddenly I'm getting error 3(partial file upload) in my $_FILES array for some files. Strangely enough files I uploaded earlier today aren't uploading anymore?

Some files will still upload through the script though!

Anyone any ideas of where I even start to look for a problem?! It's not a time out issue as there's no delay between clicking submit and getting the delay....


aaargh, I feel a hulk-out coming on

Posted: Wed Jul 25, 2007 10:23 am
by superdezign
I believe that's an error that can be caused by either the client no longer responding, or the server no longer responding during the upload. I don't know if there are any settings to avoid it though... I hear uploads through Flash are less likely to fail, but that's a rumor.

Posted: Wed Jul 25, 2007 10:52 am
by Benjamin
Maybe your root partition is full.

Posted: Wed Aug 01, 2007 6:18 am
by Jello
I'm going to resurrect this thread instead of posting another one.

The script that I had issues with originally magically fixed itself the following day. Now I'm using the MCPUK connector for the FCK editor file browser and I'm getting the same issue. Error 3 on the majority of my uploads. Occasionally they work but 99% of the time they fail with the highly informative error 3...

I also appear to be having intermittent problems with my sessions that seem to coincide with the upload problems. Basically sessions keep getting lost. This is happening on parts of the system that I haven't touched in days and the php.ini hasn't been changed in days either...

I'm beginning to think it's a configuration issue or a bug. Can anyone offer advice? I've been looking at this for about 3 hours now and I can't make a jot of progress!

Thanks
Paddy

Posted: Wed Aug 01, 2007 3:55 pm
by jmut
I'd suggest make simplest script possible for file upload.
Maybe your code is messy and you can't see some nasty bug.
Error enable all + display. Watch apache error log and all. Check free space as astions suggested.
Paste some simple code.

Posted: Wed Aug 01, 2007 4:08 pm
by nathanr
most definately sounds like your on a linux box and the /tmp drive is full - more than likely you have something logging all http requests into a file in a subdirectory of /tmp - thus no room for sessions or uploads in the tmp drive :)