Page 1 of 1

uploads over 700kb not working

Posted: Tue Apr 19, 2005 3:51 am
by phpScott
I think this is where I want this message.

I am using a prebuilt file_upload script that does some checking on file types, size, etc...

The error I am getting is that any file over 700kb will not upload. I have gone through the script and have looked to see what size limit the script allows and it is up to 2mb.

The error message comes up in a javascript alert saying "This document contians no data". Apparently it is a firefox error message, but any ideas why it would come up?

Just tried it with IE and it just hangs.

since I have poured over the code and can't see a restriction there and doing a phpinfo() says upload_max_filesize is 2mb anyone have any ideas?

Posted: Tue Apr 19, 2005 4:10 am
by JayBird
post the script

Posted: Tue Apr 19, 2005 4:35 am
by phpScott
I would love to but it is across about 8 pages and 100's of lines of code. I will if you really want. like I said I didn't write it otherwise I could probably figure it out. the script comes from the cms for FCKeditor.

The question is more is there something on the server that could cause firefox to come up with "This document contains no data" or what might be happening?

Posted: Tue Apr 19, 2005 4:36 am
by malcolmboston
you have an upload system that goes over 8 pages???

you could write your own upload script with error handling with full features (automatic filename generator etc) in about 80 - 120 lines

i suggest you write your own, its not difficult and then you will know exactly what its doing

Posted: Tue Apr 19, 2005 5:04 am
by phpScott
I have in the past but the company I'm working for use a cms system that has file upload support. I would prefer to code my own but i'm saddled with what i've got.

no worries im about to use my own really simple one to see if it is a server of code problem.