Ursache Fehlermeldung

Was ist die Ursache?

Enlight_Controller_Exception: Unauthorized in /home/httpd/vhosts/…/shop/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php:212
Stack trace:
#0 /home/httpd/vhosts/…/shop/engine/Library/Enlight/Event/Handler/Plugin.php(145): Shopware_Plugins_Backend_Auth_Bootstrap->onPreDispatchBackend(Object(Enlight_Controller_ActionEventArgs))
#1 /home/httpd/vhosts/…/shop/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_ActionEventArgs))
#2 /home/httpd/vhosts/…/shop/engine/Library/Enlight/Controller/Action.php(162): Enlight_Event_EventManager->notify(‚Enlight_Control…‘, Object(Enlight_Controller_ActionEventArgs))
#3 /home/httpd/vhosts/…/shop/engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch(‚loadAction‘)
#4 /home/httpd/vhosts/…/shop/engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#5 /home/httpd/vhosts/…/shop/engine/Shopware/Kernel.php(191): Enlight_Controller_Front->dispatch()
#6 /home/httpd/vhosts/…/shop/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#7 /home/httpd/vhosts/…/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(477): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 /home/httpd/vhosts/…/shop/engine/Shopware/Components/HttpCache/AppCache.php(261): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#9 /home/httpd/vhosts/…/shop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(267): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /home/httpd/vhosts/…/shop/engine/Shopware/Components/HttpCache/AppCache.php(102): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /home/httpd/vhosts/…/shop/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#12 {main}

Time:

2021-09-09T15:37:52.739844+0200

Channel:

core

request:

{
„uri“: „/backend/customer/load/?no-cache=1630998637+1+1“,
„method“: „POST“,
„query“: {
„no-cache“: „1630998637 1 1“,
„module“: „backend“,
„controller“: „customer“,
„action“: „load“
},
„post“: {
„file“: [
„model/Customer“,
„model/Debit“,
„model/PaymentData“,
„model/Order“,
„model/Chart“,
„model/Batch“,
„model/Address“,
„model/QuickView“,
„model/CustomerStream“,
„view/main/QuickView“,
„view/main/StreamView“,
„view/main/CustomerList“,
„view/main/CustomerListFilter“,
„view/main/Window“,
„view/main/Wizard“,
„view/detail/Window“,
„view/detail/Base“,
„view/detail/Debit“,
„view/detail/Comment“,
„view/detail/Additional“,
„view/order/List“,
„view/order/Chart“,
„view/address/List“,
„view/address/detail/Window“,
„view/address/detail/Address“,
„view/chart/AmountChartFactory“,
„view/chart/Chart“,
„view/chart/MetaChart“,
„view/customer_stream/Detail“,
„view/customer_stream/Listing“,
„view/customer_stream/Preview“,
„view/customer_stream/ConditionPanel“,
„view/customer_stream/ConditionField“,
„view/customer_stream/conditions/AccountModeCondition“,
„view/customer_stream/conditions/AgeCondition“,
„view/customer_stream/conditions/HasAddressWithCountryCondition“,
„view/customer_stream/conditions/HasCanceledOrdersCondition“,
„view/customer_stream/conditions/HasNewsletterRegistrationCondition“,
„view/customer_stream/conditions/IsCustomerSinceCondition“,
„view/customer_stream/conditions/IsInCustomerGroupCondition“,
„view/customer_stream/conditions/HasOrderCountCondition“,
„view/customer_stream/conditions/OrderedAtWeekdayCondition“,
„view/customer_stream/conditions/OrderedInLastDaysCondition“,
„view/customer_stream/conditions/OrderedInShopCondition“,
„view/customer_stream/conditions/RegisteredInShopCondition“,
„view/customer_stream/conditions/OrderedOnDeviceCondition“,
„view/customer_stream/conditions/OrderedProductCondition“,
„view/customer_stream/conditions/OrderedProductOfCategoryCondition“,
„view/customer_stream/conditions/OrderedProductOfManufacturerCondition“,
„view/customer_stream/conditions/OrderedWithDeliveryCondition“,
„view/customer_stream/conditions/OrderedWithPaymentCondition“,
„view/customer_stream/conditions/HasTotalOrderAmountCondition“,
„view/customer_stream/conditions/CustomerAttributeCondition“,
„view/customer_stream/conditions/SalutationCondition“,
„view/customer_stream/conditions/SearchTermCondition“,
„view/customer_stream/conditions/field/AttributeValue“,
„view/customer_stream/conditions/field/AttributeWindow“,
„view/customer_stream/conditions/field/OperatorField“,
„store/Detail“,
„store/Orders“,
„store/Chart“,
„store/Batch“,
„store/Address“,
„store/QuickView“,
„store/Preview“,
„store/CustomerStream“,
„controller/Detail“,
„controller/Order“,
„controller/Main“,
„controller/Stream“
]
}
}

shop:

No shop data available

session:

No session data available

Welche PHP Version nutzt du?

Es ist die PHP-Version 7.4.

Moin @muroshi

Diese Meldung erscheint unter anderem, wenn sich ein anderer Benutzer mit denselben Benutzerdaten im Backend anmeldet. Dies kannst Du verhindern, wenn Du für jeden Benutzer, der mit dem Backend arbeitet, einen eigenen Account in der Benutzerverwaltung anlegst.

Diese Meldung kann aber auch dann erscheinen, wenn der Backend-Benutzer nicht über ausreichende Rechte verfügt, um eine bestimmte Aktion im Backend durchzuführen (bspw. „Kunden“ öffnen).

Solltest Du im Backend Rollen einsetzen, welche nicht über alle Rechte verfügen, dann liegt die Ursache hier bei fehlenden Berechtigungen, welche geprüft werden sollten. Dazu kannst Du entweder bei den Benutzern ohne Admin-Rechte nachfragen, oder Dich selbst mit dieser Rolle anmelden und prüfen, ob noch alle gewünschte Bereiche verfügbar sind.

Ein paar Beispiele für die Berechtigungen haben wir bereits hier gelistet:

Schöne Grüße :slight_smile:

Moin

Ich setze keine Rollen ein. Es gibt nur einen Benutzer. Bei Rollen steht:
local_admins und unter Beschreibung: Default group that gains access to all shop functions. Die ist aktiv.

Es kann sein, dass ich mich nicht ausgeloggt habe, als ich mich von meinem PC abgemeldet habe (Linux), beim erneuten Anmelden erscheint bei Shopware nämlich manchmal oder nach einer gewissen Zeit wieder der Login-Screen.

Gruss