Ergebnis 1 bis 6 von 6

Thema: Fileupload Error: Die maximale Größe für Datei-Uploads beträgt 128,0 MiB (Contao- ode

  1. #1
    Contao-Nutzer
    Registriert seit
    08.09.2015.
    Beiträge
    49

    Standard Fileupload Error: Die maximale Größe für Datei-Uploads beträgt 128,0 MiB (Contao- ode

    Hallo zusammen,

    kürzlich bekomme ich die Fehlermeldung sobald ich Dateien hochladen möchte. Welcher Dateityp und Dateigröße spielt keine Rolle. Der Fehler kommt immer.

    ErrorLog:

    Code:
    [16-Mar-2018 16:27:36 Europe/Berlin] 
    PHP Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error:  in /WWWROOT/212045/htdocs/system/modules/core/library/Contao/GdImage.php on line 82
    #0 [internal function]: __error(2, 'imagecreatefrom...', '/WWWROOT/212045...', 82, Array)
    #1 /WWWROOT/212045/htdocs/system/modules/core/library/Contao/GdImage.php(82): imagecreatefromjpeg('/WWWROOT/212045...')
    #2 /WWWROOT/212045/htdocs/system/modules/core/library/Contao/Image.php(541): Contao\GdImage::fromFile(Object(Contao\File))
    #3 /WWWROOT/212045/htdocs/system/modules/core/library/Contao/Image.php(510): Contao\Image->executeResizeGd()
    #4 /WWWROOT/212045/htdocs/system/modules/core/library/Contao/Image.php(967): Contao\Image->executeResize()
    #5 /WWWROOT/212045/htdocs/system/modules/core/drivers/DC_Folder.php(2483): Contao\Image::get('files/NAME...', 400, 43, 'box')
    #6 /WWWROOT/212045/htdocs/system/modules/core/drivers/DC_Folder.php(2434): Contao\DC_Folder->generateTree('/WWWROOT/212045...', 60, false, false, false)
    #7 /WWWROOT/212045/htdocs/system/modules/core/drivers/DC_Folder.php(2434): Contao\DC_Folder->generateTree('/WWWROOT/212045...', 40, false, false, false)
    #8 /WWWROOT/212045/htdocs/system/modules/core/drivers/DC_Folder.php(2434): Contao\DC_Folder->generateTree('/WWWROOT/212045...', 20, false, false, false)
    #9 /WWWROOT/212045/htdocs/system/modules/core/drivers/DC_Folder.php(313): Contao\DC_Folder->generateTree('/WWWROOT/212045...', 0, false, false, false)
    #10 /WWWROOT/212045/htdocs/system/modules/core/classes/Backend.php(650): Contao\DC_Folder->showAll()
    #11 /WWWROOT/212045/htdocs/system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('files')
    #12 /WWWROOT/212045/htdocs/contao/main.php(20): Contao\BackendMain->run()
    #13 {main}
    
    [16-Mar-2018 16:27:36 Europe/Berlin] 
    PHP Warning: imagecreatefromjpeg(): '/WWWROOT/212045/htdocs/files/NAMENAME/images/marken/index.jpg' is not a valid JPEG file in /WWWROOT/212045/htdocs/system/modules/core/library/Contao/GdImage.php on line 82
    #0 [internal function]: __error(2, 'imagecreatefrom...', '/WWWROOT/212045...', 82, Array)
    #1 /WWWROOT/212045/htdocs/system/modules/core/library/Contao/GdImage.php(82): imagecreatefromjpeg('/WWWROOT/212045...')
    #2 /WWWROOT/212045/htdocs/system/modules/core/library/Contao/Image.php(541): Contao\GdImage::fromFile(Object(Contao\File))
    #3 /WWWROOT/212045/htdocs/system/modules/core/library/Contao/Image.php(510): Contao\Image->executeResizeGd()
    #4 /WWWROOT/212045/htdocs/system/modules/core/library/Contao/Image.php(967): Contao\Image->executeResize()
    #5 /WWWROOT/212045/htdocs/system/modules/core/drivers/DC_Folder.php(2483): Contao\Image::get('files/NAME...', 400, 43, 'box')
    #6 /WWWROOT/212045/htdocs/system/modules/core/drivers/DC_Folder.php(2434): Contao\DC_Folder->generateTree('/WWWROOT/212045...', 60, false, false, false)
    #7 /WWWROOT/212045/htdocs/system/modules/core/drivers/DC_Folder.php(2434): Contao\DC_Folder->generateTree('/WWWROOT/212045...', 40, false, false, false)
    #8 /WWWROOT/212045/htdocs/system/modules/core/drivers/DC_Folder.php(2434): Contao\DC_Folder->generateTree('/WWWROOT/212045...', 20, false, false, false)
    #9 /WWWROOT/212045/htdocs/system/modules/core/drivers/DC_Folder.php(313): Contao\DC_Folder->generateTree('/WWWROOT/212045...', 0, false, false, false)
    #10 /WWWROOT/212045/htdocs/system/modules/core/classes/Backend.php(650): Contao\DC_Folder->showAll()
    #11 /WWWROOT/212045/htdocs/system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('files')
    #12 /WWWROOT/212045/htdocs/contao/main.php(20): Contao\BackendMain->run()
    #13 {main}

    -> images/marken/index.jpg ist gelöscht. Fehler taucht noch auf.

    Anmerkung: Ich hatte vorher die Erweiterung "simple_products" installiert. Jedoch meine ich mich zu erinnern, dass ich nach erfolgreicher Installation ebenfalls noch Grafiken aus dem Backend hochgeladen hatte, was funktioniert hatte.


    Der contao Check sagt folgendes:

    Code:
    Contao system requirements
    You can install Contao 2.x More information …
    You can install Contao 3.x More information …
    You cannot install Contao 4.x More information …
    You cannot install Contao 4.5 More information …
    File permissions
    The PHP process is allowed to create files. More information …
    Additional services
    You can use the Live Update. More information …
    You cannot use the Composer package manager. More information …
    You can use the Extension Repository. More information …

    php.ini:

    Code:
    file_uploads = On
    
    upload_max_filesize = 40M
    
    post_max_size = 40M
    Auch wenn ich die Erweiterung simple_products deaktiviere (Core-Modus) bleibt der Fehler bestehen.

    Kann mir jemand helfen?

    Besten Dank!

  2. #2
    AG Pressearbeit
    Community-Moderator
    Buchautor 'Contao für Webdesigner'
    Avatar von planepix
    Registriert seit
    05.06.2009.
    Ort
    Stuttgart
    Beiträge
    6.469
    Partner-ID
    107
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Und welche Dateigröße steht für das Uploadlimit in den Einstellungen?
    ---------------------------------
    Beste Grüße planepix
    Contao für Webdesigner (Website), Twitter: @contaowebdesign
    weitzeldesign
    Contao-Sprechstunde
    Contao Schulungen: https://www.weitzeldesign.com/cms-co...chulungen.html
    Contao Jahrbuch: www.contao-jahrbuch.de
    Contao Agenturtag: www.contao-agenturtag.de
    Contao Stammtisch Stuttgart: www.contao-stammtisch-stuttgart.de
    Contao 4 Erfahrungen als Gitbook: https://app.gitbook.com/@planepix/s/...-mit-contao-4/
    Contao 4 & Manager Hosterhinweise: https://github.com/contao/contao-manager/wiki

    Schon wieder ein Update?
    Glücklich sind die, die den Wert erkennen – und wertschätzen.
    „Muss man machen wie beim Zahnarzt. Der bestraft einen auch mit hohen Rechnungen wenn man die Pflege vernachlässigt.”

  3. #3
    Contao-Nutzer
    Registriert seit
    08.09.2015.
    Beiträge
    49

    Standard

    Zitat Zitat von planepix Beitrag anzeigen
    Und welche Dateigröße steht für das Uploadlimit in den Einstellungen?
    Also da liege ich deutlich über dem Default-Wert von contao. Ich habe bereits verschiendene Werte ausprobiert. Leider ohne Erfolg.

  4. #4
    Contao-Urgestein Avatar von Samson1964
    Registriert seit
    05.11.2012.
    Ort
    Berlin
    Beiträge
    2.794

    Standard

    Standardmäßig begrenzen die meisten Server den Upload auf 8 MB. Deine invalide index.jpg wird ja kaum größer sein. Selbst wenn Du das Uploadlimit hochsetzt auf 40 oder mehr MB, kann Dein Upload scheitern, weil z.B. (bei langsamer Uploadgeschwindigkeit) die maximale Skriptausführungszeit überschritten wird.

    Persönlich würde ich bei Deiner Fehlermeldung nie das Uploadlimit in Haftung nehmen, sondern mir mal die index.jpg genauer anschauen. An der muß ja was faul sein.
    Viele Grüße
    Frank

    Seit Mai 2013 Fan von Contao
    Webmaster vom Deutschen Schachbund und Berliner Schachverband
    Mein Blog: Schachbulle
    Meine Erweiterungen bei GitHub
    Meine Videos auf YouTube: Playlist zur Contao-Programmierung/Einrichtung

  5. #5
    Contao-Fan
    Registriert seit
    05.05.2011.
    Beiträge
    860

    Standard

    Ja, vielleicht ist das ja eigentlich eine *.png- oder *.gig- oder sonstwas-Datei und die Endung wurde einfach überschrieben, das hatte ich schon mal.

  6. #6
    Contao-Nutzer
    Registriert seit
    08.09.2015.
    Beiträge
    49

    Standard

    Mein Problem hat sich erledigt.
    Ich konnte den Hoster erreichen, anscheinend lag es an einer falschen Servereinstellung.

    Vielen Dank euch!

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •