Project

General

Profile

Bug #2249

problem uploading large docx-file

Added by Nathalie Blocry almost 9 years ago. Updated over 8 years ago.

Status:
Bug resolved
Priority:
Normal
Target version:
Start date:
17/11/2010
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal

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

Scans_osteoartrose.docx (8.08 MB) Scans_osteoartrose.docx Nathalie Blocry, 17/11/2010 12:54

Associated revisions

Revision 11c3b82f (diff)
Added by jmontoyaa almost 2 years ago

Exercise - Fix wrong results when using MULTIPLE_ANSWER_COMBINATION

See #2249

History

#1

Updated by Nathalie Blocry almost 9 years ago

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.

#2

Updated by Anonymous almost 9 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)

#3

Updated by Hans De Bisschop almost 9 years ago

Same problem here on Windows. Will look into this tomorrow. Got a few ideas, not sure whether they'll pan out.

#4

Updated by Hans De Bisschop almost 9 years ago

  • Assignee set to Hans De Bisschop
  • Target version set to 1
#5

Updated by Hans De Bisschop almost 9 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.

#6

Updated by Sven Vanpoucke almost 9 years ago

  • Target version changed from 1 to 3
#7

Updated by Sven Vanpoucke almost 9 years ago

I can not reproduce this either...

#8

Updated by Hans De Bisschop almost 9 years ago

I actually CAN reproduce this at work and NOT at home :-S

#9

Updated by Sven Vanpoucke almost 9 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

#10

Updated by Hans De Bisschop almost 9 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.

#11

Updated by Hans De Bisschop almost 9 years ago

Form now displays the smallest value. Server settings are of course outside the scope of Chamilo 2.0 as such.

#12

Updated by Hans De Bisschop almost 9 years ago

  • Status changed from New to Needs testing
  • % Done changed from 0 to 100
#13

Updated by Nathalie Blocry almost 9 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")

#14

Updated by Stefaan Vanbillemont almost 9 years ago

  • Status changed from Needs testing to Bug resolved
#15

Updated by Stefaan Vanbillemont over 8 years ago

  • Project changed from Chamilo LCMS Connect to Repository
#16

Updated by Stefaan Vanbillemont over 8 years ago

  • Target version changed from 3 to 1.0.0

Also available in: Atom PDF