Bug #2249
closedproblem uploading large docx-file
100%
Description
I cannot upload a large docx file (maybe i cannot upload a small one either but I only have a large one ;-) ). this seems to be a quickform-problem but I cannot find where it originates. (the form doesn't validate because the _flagSubmitted = false so the form just reloads without any error message)
is this a problem on linux installations only or do the windows-people have the same issue?
Files
Updated by Nathalie Blocry over 12 years ago
- File Scans_osteoartrose.docx Scans_osteoartrose.docx added
OK so i got a small .docx file for testing and had no problem uploading that.
with a big file (8,1 Mb so not that big) I just get a redirection to an empty document form, file was not uploaded.
nothing to do with apache filesize restrictions because they are at 25MB and a pdf-file with the same size gets uploaded without any problem.
it is a file containing scanned images (that should be uploaded as a pdf anyway in an ideal world, but we all know such place does not exist)
Could someone try an upload on a windows machine so I can rule out any Linux-docx related mismatches.
Updated by Anonymous over 12 years ago
Perhaps this will help; using create I get this error:
Warning: POST Content-Length of 8469746 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent in C:\wamp\www\chamilogoogle\common\libraries\php\session\session.class.php on line 31
The problem is perhaps related to 2251 (not possible to import cpo)
Updated by Hans De Bisschop over 12 years ago
Same problem here on Windows. Will look into this tomorrow. Got a few ideas, not sure whether they'll pan out.
Updated by Hans De Bisschop over 12 years ago
- Assignee set to Hans De Bisschop
- Target version set to 1
Updated by Hans De Bisschop over 12 years ago
Tried this again at home and over here it uploads without any problems. I'm guessing there must be some kind of server-configuration related thing which is causing this. finding out what is an alltogether different story.
Updated by Hans De Bisschop over 12 years ago
I actually CAN reproduce this at work and NOT at home :-S
Updated by Sven Vanpoucke over 12 years ago
Could this be either a rights problem or a settings problem? Maybe by checking the diagnoser you could get more information
Mine is
upload_max_filesize 32M
memory_limit 32M
post_max_size 32M
And it isn't even optimised yet.. It should be around 100M or bigger
Updated by Hans De Bisschop over 12 years ago
Problem seemed to be the fact that there are of course 2 php settings used to determine how big an uploaded file can be. Right now, only one of these is being used to check and warn the user. Will fix this immediately.
Updated by Hans De Bisschop over 12 years ago
Form now displays the smallest value. Server settings are of course outside the scope of Chamilo 2.0 as such.
Updated by Hans De Bisschop over 12 years ago
- Status changed from New to Needs testing
- % Done changed from 0 to 100
Updated by Nathalie Blocry over 12 years ago
I still don't get any warning that the file is too big, just get redirected to a new, completely empty, form.
i DO get the error-warning when i try to upload a pdf that is too big ("Form has errors, please complete the form" and "The document appear to be too big")
Updated by Stefaan Vanbillemont about 12 years ago
- Status changed from Needs testing to Bug resolved
Updated by Stefaan Vanbillemont almost 12 years ago
- Project changed from Chamilo LCMS Connect to Repository
Updated by Stefaan Vanbillemont almost 12 years ago
- Target version changed from 3 to 1.0.0