-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropzone-Upload im Backend POST > Maximale Upload-Dateigröße #1192
Comments
|
Die |
|
Da hast Du sicherlich recht (hab ich der Vollständigkeit halber auf dem Server angepasst). Ändert aber leider nichts an dem Verhalten. |
|
Tatsächlich ist die DropZone im Contao Backend so konfiguriert, dass sie mehrere Dateien in einem Request sendet. Siehe DropZone.php#L60
|
|
We could add |
|
Sounds reasonable. But does that provide any advantage? What if the |
|
Well it would need to be supported by Contao but it would improve the speed when uploading lots of data. Imho this has to be either removed (as a hotfix anyway) but we could also think about having support for chunked upload. |
|
+1 for Another problem with big uploads are timeouts (expecially on shared hosting environments). |
|
Fixed in ec3bd92. |
|
Regarding chunked uploads: We should discuss the new feature separately from this bug request. Preferably in a pull request. 😄 |
Im aktuellen Contao 4.4.8 kommt es bei uns in einer speziellen Konstellation zu Problemen mit großen Dateien:
Ein Kunde möchte einige Bilder im Backend in die Dropzone hochladen. Die Bilder die der Kunde auf einmal in die Dropzone schiebt, haben folgende Größe (in dieser Reihenfolge): 16,7MB / 20,3MB / 16,3MB / 12,2MB / 11,4MB / 11,2MB. Folgende Einstellungen haben die einzelnen Komponenten:
Einstellung Apache:
MaxRequestLen 30000000Einstellung Contao:
Maximale Upload-Dateigröße: 25000000Einstellung php.ini:
Im Grunde sollte das so funktionieren. Alle Bilder werden auch hochgeladen - nur die ersten beiden nicht (X-Symbol). Werden diese einzeln hochgeladen, funktioniert alles. PHP-Log zeigt keine Problem. Contao-Log auch nicht. Nur das Apache-Log hat einen Eintrag:
Es scheint so, dass die Dropzone in einem Post immer zwei Dateien übertragen möchte. In diesem Falle also 16,7MB+20.3MB=37MB. Bei den folgenden Dateien kommt diese Konstellation nicht mehr zu Stande.
Deswegen vermute ich einen Bug in der Dropzone oder in der Konfiguration des Dropzone-Objects. Im Contao-Demo kann ich das leider nicht testen - Upload ist hier ja nicht erlaubt.
The text was updated successfully, but these errors were encountered: