Gelöst Keine Übertragung von Artikelbilder mehr möglich

lohkaes

Gut bekanntes Mitglied
27. April 2007
242
15
Hallo,

habe soeben in meinem Testsystem festgestellt, dass keine Übertragung der Artikelbilder mehr funktioniert.
Der Shop war bereits mit Bildern einer früheren Übertragung ausgestattet, hab nun aber die Artikelbilder nochmals neu übertragen. Nun stehen alle Artikel ohne Bilder da. Auch die Herstellerbilder sind nicht mehr verfügbar.

Im Einsatz ist die aktuelle Shopwareversion 5.2.8 sowie der aktuelle Connector und JTL-Wawi.
Übertragungseinstellungen sollten gepasst haben. Hab einen Komplettabgleich gemacht.

Hab ich was falsch gemacht, oder ist das hier ein Problem/Bug? Hat irgendwer eine Lösung bzw. Workarround?
 

3po

Sehr aktives Mitglied
30. August 2011
2.605
100

lohkaes

Gut bekanntes Mitglied
27. April 2007
242
15
@3po: OK Danke. Hab gerade alle Artikelbilder nochmal hochgeladen, leider wird im Shop nichts angezeigt. Wenn ich an einem Artikel Änderungen mache, also z.B. bei der Beschreibung etc. werden diese ohne Probleme übertragen, nur die Bilder nicht mehr 🙁. Der Connector sagt auch das alles ohne Probleme funktioniert hat, stimmt aber nicht. Wenn ich dann im Medienmanager von Shopware schaue, stehen da die neu hochgeladenen Bilder auch nirgendsdrin. Wohin kopiert der Connector die Bilder beim Hochladen? Kann ich irgendwo anhand eines Logfiles sehen, wo hier das Problem liegt?
Danke.
 

lohkaes

Gut bekanntes Mitglied
27. April 2007
242
15
Hallo zusammen,

hab nun soeben im Logfile auf meinem Testsystem folgendes gesehen:

[2016-10-20 11:10:39] global.WARNING: (E_WARNING) File (D:\Bitnami\shopware5280\apps\shopware\htdocs\engine\Library\Zend\Cache\Backend\File.php, 1007): fopen(D:\Bitnami\shopware5280\apps\shopware\htdocs\var\cache\production_201609201510\general\shopware--ed6cf89108c27c294131eaa8567c8bcaShopware\shopware--Models\shopware--201609201510\shopware---internal-metadatas---ed6cf89108c27c294131eaa8567c8bcaShopware_Models_201609201510_45f9e90e9183d58bff140b1d0f44deb6): failed to open stream: Invalid argument [] []
[2016-10-20 11:10:43] global.NOTICE: (E_NOTICE) File (phar://D:/Bitnami/shopware5280/apps/shopware/htdocs/engine/Shopware/Plugins/Local/Frontend/jtlconnector/connector.phar/src/jtl/Connector/Shopware/Mapper/PrimaryKeyMapper.php, 212): Undefined offset: 2 [] []
[2016-10-20 11:10:46] global.NOTICE: (E_NOTICE) File (phar://D:/Bitnami/shopware5280/apps/shopware/htdocs/engine/Shopware/Plugins/Local/Frontend/jtlconnector/connector.phar/src/jtl/Connector/Shopware/Mapper/PrimaryKeyMapper.php, 212): Undefined offset: 2 [] []
[2016-10-20 11:10:49] global.WARNING: (E_WARNING) File (D:\Bitnami\shopware5280\apps\shopware\htdocs\engine\Library\Zend\Cache\Backend\File.php, 1007): fopen(D:\Bitnami\shopware5280\apps\shopware\htdocs\var\cache\production_201609201510\general\shopware--ed6cf89108c27c294131eaa8567c8bcaShopware\shopware--Models\shopware--201609201510\shopware---internal-metadatas---ed6cf89108c27c294131eaa8567c8bcaShopware_Models_201609201510_45f9e90e9183d58bff140b1d0f44deb6): failed to open stream: Invalid argument [] []

und noch Einträge aus dem Databaselog:
[2016-10-20 10:56:04] database.ERROR: Exception 'LogicException' (Code: 0) with message 'Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?)' in D:\Bitnami\shopware5280\apps\shopware\htdocs\vendor\symfony\http-foundation\File\MimeType\MimeTypeGuesser.php:135 [] []
[2016-10-20 10:56:04] database.ERROR: Exception 'Exception' (Code: 0) with message 'ForeignKey cannot be null' in phar://D:/Bitnami/shopware5280/apps/shopware/htdocs/engine/Shopware/Plugins/Local/Frontend/jtlconnector/connector.phar/src/jtl/Connector/Shopware/Mapper/Image.php:540 [] []



Hat irgendwer eine Idee was hier nicht passt bzw. hatte diese Fehler auch schon mal?
 

3po

Sehr aktives Mitglied
30. August 2011
2.605
100
Ich kann mich dunkel daran erinnern das ich ein ähnliches Problem zur Anfangszeit hatte, das lag aber, wenn ich mich richtig erinnere, am Hosting bzw. der Pfad zum Shop und der Domain. Nachdem wir den Testserver regulär online gehostet hatten ohne irgendwelche umleitungen oder ähnliches ging der Bildupload problemlos, bis heute.
 

lohkaes

Gut bekanntes Mitglied
27. April 2007
242
15
denke einen Schritt weiter:

Hab in der php.ini die phpfile_info.dll aktiviert. Nun sieht das Logfile so aus:

[2016-10-20 12:02:39] global.NOTICE: (E_NOTICE) File (phar://D:/Bitnami/shopware5280/apps/shopware/htdocs/engine/Shopware/Plugins/Local/Frontend/jtlconnector/connector.phar/src/jtl/Connector/Shopware/Mapper/PrimaryKeyMapper.php, 212): Undefined offset: 2 [] []
[2016-10-20 12:06:07] global.WARNING: (E_WARNING) File (D:\Bitnami\shopware5280\apps\shopware\htdocs\engine\Library\Zend\Cache\Backend\File.php, 1007): fopen(D:\Bitnami\shopware5280\apps\shopware\htdocs\var\cache\production_201609201510\general\shopware--ed6cf89108c27c294131eaa8567c8bcaShopware\shopware--Models\shopware--201609201510\shopware---internal-metadatas---ed6cf89108c27c294131eaa8567c8bcaShopware_Models_201609201510_45f9e90e9183d58bff140b1d0f44deb6): failed to open stream: Invalid argument [] []
[2016-10-20 12:06:16] global.WARNING: (E_WARNING) File (D:\Bitnami\shopware5280\apps\shopware\htdocs\engine\Library\Zend\Cache\Backend\File.php, 1007): fopen(D:\Bitnami\shopware5280\apps\shopware\htdocs\var\cache\production_201609201510\general\shopware--ed6cf89108c27c294131eaa8567c8bcaShopware\shopware--Models\shopware--201609201510\shopware---internal-metadatas---ed6cf89108c27c294131eaa8567c8bcaShopware_Models_201609201510_7e2f392996b499b3849f44f15fd4f141): failed to open stream: Invalid argument [] []
[2016-10-20 12:06:21] global.WARNING: (E_WARNING) File (phar://D:/Bitnami/shopware5280/apps/shopware/htdocs/engine/Shopware/Plugins/Local/Frontend/jtlconnector/connector.phar/vendor/jtl/connector/src/jtl/Connector/Core/Http/Request.php, 179): unlink(C:\Windows\Temp\con-5808971d01b58\734_Product.jpg): No such file or directory [] []
[2016-10-20 12:06:24] global.WARNING: (E_WARNING) File (phar://D:/Bitnami/shopware5280/apps/shopware/htdocs/engine/Shopware/Plugins/Local/Frontend/jtlconnector/connector.phar/vendor/jtl/connector/src/jtl/Connector/Core/Http/Request.php, 179): unlink(C:\Windows\Temp\con-5808972030570\739_Product.jpg): No such file or directory [] []

Zu diesem Eintrag:
[2016-10-20 12:06:24] global.WARNING: (E_WARNING) File (phar://D:/Bitnami/shopware5280/apps/shopware/htdocs/engine/Shopware/Plugins/Local/Frontend/jtlconnector/connector.phar/vendor/jtl/connector/src/jtl/Connector/Core/Http/Request.php, 179): unlink(C:\Windows\Temp\con-5808972030570\739_Product.jpg): No such file or directory [] []

hab ich gerade gesehen, das dies angelegt wird und danach wieder gelöscht wird. Weshalb kommt dann hier die Meldung das das Verzeichnis bzw. File nicht vorhanden wäre?
 

3po

Sehr aktives Mitglied
30. August 2011
2.605
100
ist das eine lokale Installation von SW mit Xamp oder ähnlichem?
 

lohkaes

Gut bekanntes Mitglied
27. April 2007
242
15
ja genau, eine bitname shopware Installation. Das Problem liegt aber nur bei den Bildern, alles andere scheint ohne Probleme zu gehen. Wobei der Bildabgleich auch schon funktioniert hat.
 

Ähnliche Themen