ellweellwe MemberComments: 31 Received thanks: 2 Member since: June 2016

Hallo Seit kurzem lassen sich Kategorien nicht mehr speichern. Das hängt irgendwie mit Attributen zusammen. Ich habe eine Attributfeld mit dem Namen "supplier_id" vergeben. Im Browser kommt folgende Antwort per Ajax zurück:

{"success":true,"data":{"id":7,"parentId":3,"streamId":null,"name":"Handwerk & Tradition","position":2,"metaTitle":"","metaKeywords":null,"metaDescription":"","cmsHeadline":"","cmsText":"","active":true,"template":null,"productBoxLayout":"image","blog":false,"path":"|3|","external":"","hideFilter":false,"hideTop":false,"changed":new Date(1422215997000),"added":new Date(1422215997000),"mediaId":null,"attribute":{"id":37,"categoryId":7,"attribute1":"","attribute2":"","attribute3":"","attribute4":"","attribute5":"","attribute6":"","connectImportMapping":null,"connectExportMapping":null,"connectImported":null,"connectImportedCategory":null,"supplierId":null},"emotions":[{"id":3,"parentId":null,"active":1,"name":"bree","userId":50,"position":1,"device":"0,1,2,3,4","fullscreen":0,"validFrom":null,"isLandingPage":0,"seoTitle":"","seoKeywords":"","seoDescription":"","validTo":null,"createDate":new Date(1424765991000),"modified":new Date(1424781342000),"rows":20,"cols":3,"cellSpacing":10,"cellHeight":185,"articleHeight":2,"showListing":false,"templateId":1,"mode":"masonry"}],"media":null,"customerGroups":[],"imagePath":null},"total":26}<br />
<b>Fatal error</b>:  Uncaught Error: Call to a member function getId() on null in /var/www/DOMAIN/public_html/engine/Shopware/Components/DependencyInjection/Bridge/Session.php:59
Stack trace:
#0 /var/www/DOMAIN/public_html/var/cache/production_201608291509/proxies/ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer.php(692): Shopware\Components\DependencyInjection\Bridge\Session-&gt;factory(Object(ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer))
#1 /var/www/DOMAIN/public_html/vendor/symfony/dependency-injection/Container.php(314): ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer-&gt;getSessionService()
#2 /var/www/DOMAIN/public_html/engine/Shopware/Components/DependencyInjection/Container.php(182): Symfony\Component\DependencyInjection\Container-&gt;get('session', 1)
#3 /var/www/DOMAIN/public_html/engine/Shopware/Components/DependencyInjection/Container.php(138): Shopware\Components\DependencyInject in <b>/var/www/DOMAIN/public_html/engine/Shopware/Components/DependencyInjection/Bridge/Session.php</b> on line <b>59</b><br />

 

Hat jemand eine Idee?

Gruß

ellwe

 

 

Answers

  • ellweellwe MemberComments: 31 Received thanks: 2 Member since: June 2016

    Ok, nach sechs Stunden Forschung, habe ich gerade herausgefunden, dass es daran liegt, dass der Ordner in dem der Shop liegt per .htaccess Passwort geschützt ist.

    Gibt es dafür eine andere Lösung? Kann es an wrgendwelchen rechten liegen?

  • ellweellwe MemberComments: 31 Received thanks: 2 Member since: June 2016

    Wie schützt ihre eure Testshops?

  • ellweellwe MemberComments: 31 Received thanks: 2 Member since: June 2016

    Habt ihr keine Testshops?

Sign In or Register to comment.