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!
Lesezeichen