# E-Mail Einstellungen laden nicht

**URL:** <https://forum.shopware.com/t/e-mail-einstellungen-laden-nicht/45432>\
**Category:** Allgemein\
**Created:** [26. April 2017 um 08:47 UTC](https://forum.shopware.com/t/e-mail-einstellungen-laden-nicht/45432 "2017-04-26T08:47:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![B\_Bruns](https://avatars.discourse-cdn.com/v4/letter/b/7993a0/32.png) [@B\_Bruns](https://forum.shopware.com/u/B_Bruns)\
**Post date:** [26. April 2017 um 08:47 UTC](https://forum.shopware.com/t/e-mail-einstellungen-laden-nicht/45432/1 "2017-04-26T08:47:33Z")

</div>

Guten Tag,

ich habe gerade ein Problem mit einem Shop, bei dem die E-Mail Einstellungen nicht mehr laden. Geändert wurde vorher der Header der Mails.&nbsp;

Ich habe bereits die Einträge aus der Datenbank in&nbsp;s\_core\_config\_values entfernt, jedoch blieb alles ohne Erfolg. Es erscheint auch keine Fehlermeldung oder ähnliches.

Vielleicht hat ja jemand von euch noch eine Idee.

&nbsp;

Gruß  
Benjamin Bruns

---

<div class="post-metadata">

**Author:** ![ThomasChr](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomaschr/32/10466_2.png) [@ThomasChr](https://forum.shopware.com/u/ThomasChr)\
**Post date:** [26. April 2017 um 13:04 UTC](https://forum.shopware.com/t/e-mail-einstellungen-laden-nicht/45432/2 "2017-04-26T13:04:24Z")

</div>

Wo genau wird was nicht geladen?

Gibt es eine Fehlermeldung?

Etwas im Log?

In der Browser-Konsole?

---

<div class="post-metadata">

**Author:** ![B\_Bruns](https://avatars.discourse-cdn.com/v4/letter/b/7993a0/32.png) [@B\_Bruns](https://forum.shopware.com/u/B_Bruns)\
**Post date:** [26. April 2017 um 13:59 UTC](https://forum.shopware.com/t/e-mail-einstellungen-laden-nicht/45432/3 "2017-04-26T13:59:01Z")

</div>

Die E-Mail Einstellungen im Backend unter Einstellungen --\> Grundeinstellungen --\> Storefront --\> E-Mail Einstellungen.

Es gibt weder eine Fehlermeldung noch steht etwas im Log, das Ladesymbol erscheint nur und lädt vor sich hin.

DIe Console zeigt nach dem klicken folgenden Fehler an:

&nbsp;

Uncaught TypeError: Cannot read property ‚length‘ of null at i.eval (/backend/Config?file=app&no-cache=1493214758+1+1:19) at h.fire (ext-all.js?201610171619:21) at i.continueFireEvent (ext-all.js?201610171619:21) at i.fireEvent (ext-all.js?201610171619:21) at i.onProxyLoad (ext-all.js?201610171619:21) at i.processResponse (base?file=bootstrap&loggedIn=1493214758:217) at i. (ext-all.js?201610171619:21) at Object.callback (ext-all.js?201610171619:21) at i.onComplete (ext-all.js?201610171619:21) at i.onStateChange (ext-all.js?201610171619:21)

---

<div class="post-metadata">

**Author:** ![ThomasChr](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomaschr/32/10466_2.png) [@ThomasChr](https://forum.shopware.com/u/ThomasChr)\
**Post date:** [26. April 2017 um 14:15 UTC](https://forum.shopware.com/t/e-mail-einstellungen-laden-nicht/45432/4 "2017-04-26T14:15:55Z")

</div>

Wie immer ist es schwer dass so zu diagnostizieren.

Die Fehlermeldung sagt zumindest mir nix deutliches.  
Du solltest im Networktab einen Aufruf zu “getForm” sehen, dieser liefert den Inhalt des Formulars - siehst du da unter Response eine gültige Antwort ähnlich dieser hier:

```
{
	"success": true,
	"data": {
		"id": 192,
		"parentId": 80,
		"name": "Frontend60",
		"label": "E-Mail-Einstellungen",
		"description": null,
		"pluginId": null,
		"position": 10,
		"elements": [{
			"id": 624,
			"name": "no_order_mail",
			"value": false,
			"description": null,
			"label": "Bestellbest\u00e4tigung an Shopbetreiber deaktivieren",
			"type": "boolean",
			"required": false,
			"position": 0,
			"scope": 0,
			"options": null,
			"translations": [],
			"values": []
		}, {
			"id": 633,
			"name": "send_confirm_mail",
			"value": true,
			"description": null,
			"label": "Registrierungsbest\u00e4tigung in CC an Shopbetreiber schicken",
			"type": "boolean",
			"required": false,
			"position": 0,
			"scope": 0,
			"options": null,
			"translations": [],
			"values": []
		}, {
			"id": 634,
			"name": "optinnewsletter",
			"value": false,
			"description": null,
			"label": "Double-Opt-In f\u00fcr Newsletter-Anmeldungen",
			"type": "boolean",
			"required": false,
			"position": 0,
			"scope": 0,
			"options": null,
			"translations": [],
			"values": []
		}, {
			"id": 635,
			"name": "optinvote",
			"value": true,
			"description": null,
			"label": "Double-Opt-In f\u00fcr Artikel-Bewertungen",
			"type": "boolean",
			"required": false,
			"position": 0,
			"scope": 0,
			"options": null,
			"translations": [],
			"values": []
		}, {
			"id": 641,
			"name": "orderstatemailack",
			"value": "",
			"description": null,
			"label": "Bestellstatus - \u00c4nderungen CC-Adresse",
			"type": "text",
			"required": false,
			"position": 0,
			"scope": 0,
			"options": null,
			"translations": [],
			"values": []
		}, {
			"id": 994,
			"name": "emailheaderplain",
			"value": "",
			"description": null,
			"label": "E-Mail Header Plaintext",
			"type": "textarea",
			"required": false,
			"position": 0,
			"scope": 1,
			"options": null,
			"translations": [],
			"values": []
		}, {
			"id": 995,
			"name": "emailfooterplain",
			"value": "\nMit freundlichen Gr\u00fc\u00dfen,\n\nIhr Team von {config name=shopName}",
			"description": null,
			"label": "E-Mail Footer Plaintext",
			"type": "textarea",
			"required": false,
			"position": 0,
			"scope": 1,
			"options": null,
			"translations": [],
			"values": []
		}, {
			"id": 996,
			"name": "emailheaderhtml",
			"value": "\n",
			"description": null,
			"label": "E-Mail Header HTML",
			"type": "textarea",
			"required": false,
			"position": 0,
			"scope": 1,
			"options": null,
			"translations": [],
			"values": []
		}, {
			"id": 997,
			"name": "emailfooterhtml",
			"value": "\nMit freundlichen Gr\u00fc\u00dfen,\n\nIhr Team von {config name=shopName}",
			"description": null,
			"label": "E-Mail Footer HTML",
			"type": "textarea",
			"required": false,
			"position": 0,
			"scope": 1,
			"options": null,
			"translations": [],
			"values": []
		}],
		"translations": []
	},
	"total": 9
}

Wenn die Antwort kommt dann wird es wohl ein Javascript sein (eventuell der Fehler den du siehst) welches einen Fehler verursacht. Ich denke aber fast die Antwort könnte bei dir schon falsch aussehen. Was kriegst du denn von getForm zurück?

Thomas
```

---

<div class="post-metadata">

**Author:** ![B\_Bruns](https://avatars.discourse-cdn.com/v4/letter/b/7993a0/32.png) [@B\_Bruns](https://forum.shopware.com/u/B_Bruns)\
**Post date:** [27. April 2017 um 06:46 UTC](https://forum.shopware.com/t/e-mail-einstellungen-laden-nicht/45432/5 "2017-04-27T06:46:44Z")

</div>

Hallo,

&nbsp;

danke für den Tipp, dort wurde mir eine Fehlermeldung angezeigt, welche auf einen fehlerhaften Eintrag aus der Tabelle&nbsp;s\_core\_config\_elements hingewiesen hat (s:121).

Diesen habe ich nun entfernt und das Formular kann wieder aufgerufen werden, allerdings fehlt jetzt natürlich der Eintrag HTML-Header, da ich diesen ja aus der Datenbank gelöscht habe. Ich werde nun versuchen diesen Eintrag aus einem anderen Shop zu übernehmen und dann den Standard wieder herzustellen.&nbsp;

&nbsp;

Nachtrag:

Nachdem ich den den Entrag von einer anderen Datenbank eingefügt habe, klappt jetzt wieder alles ganz normal. Danke für die Hilfe!

---

<div class="post-metadata">

**Author:** ![ThomasChr](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomaschr/32/10466_2.png) [@ThomasChr](https://forum.shopware.com/u/ThomasChr)\
**Post date:** [27. April 2017 um 07:40 UTC](https://forum.shopware.com/t/e-mail-einstellungen-laden-nicht/45432/6 "2017-04-27T07:40:51Z")

</div>

Super! Freut mich!
