# Fehler bei PDF-Belegerstellung

**URL:** https://forum.shopware.com/t/fehler-bei-pdf-belegerstellung/52090
**Category:** Allgemein
**Created:** [28. März 2018 um 21:17 UTC](https://forum.shopware.com/t/fehler-bei-pdf-belegerstellung/52090 "2018-03-28T21:17:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![andreasberniczki](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@andreasberniczki](https://forum.shopware.com/u/andreasberniczki)
#### Post date: [28. März 2018 um 21:17 UTC](https://forum.shopware.com/t/fehler-bei-pdf-belegerstellung/52090/1 "2018-03-28T21:17:29Z")

</div>

Hallo,

wenn ich im Backend Grundeinstellungen-\>Shopeinstellungen-\>PDF-Belegerstellung auf&nbsp; Rechnung/ Lieferschein usw. Vorschau klicke, kommt diese Fehlermeldung.  
Kann mir&nbsp;bitte jemand helfen?

Danke!

```
Ups! Ein Fehler ist aufgetreten!
Die nachfolgenden Hinweise sollten Ihnen weiterhelfen.

Syntax Error in template "4ff364cf72f481c46e41b4fd2f3b7bc324eeee3d" on line 305 "{mso-style-name:"Normale Tabelle";" - Unexpected ":", expected one of: "}" , " " , ATTR in engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 657

Stack trace:

#0 engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error()
#1 engine/Library/Smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(2, ':')
#2 engine/Library/Smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(2, ':')
#3 engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('
```

---

<div class="post-metadata">

### Author: ![enerSpace](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/enerspace/32/13552_2.png) [@enerSpace](https://forum.shopware.com/u/enerSpace)
#### Post date: [28. März 2018 um 21:43 UTC](https://forum.shopware.com/t/fehler-bei-pdf-belegerstellung/52090/2 "2018-03-28T21:43:20Z")

</div>

Hallo @[andreasberniczki](https://forum.shopware.com/profile/28626/andreasberniczki),

das sieht so aus, als ob du Code von z.B. Outlook einfach in eines der Felder kopiert hast. Such doch einmal in der Datenbank nach dem Eintrag:&nbsp;

```
mso-style-name

```

Falls du hier Einträge findest, lösche die betroffenen Stellen raus und erstelle diese hinterher erneut.

Du kannst natürlich auch jedes einzelne Feld mit dem erweiterten Backendeditor durchgehen und nach dem Code suchen. Aktiviere im Editor aber die Code-Vorschau Option.

VG

![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/bb8958d17f9f7c07e111287f43ec676d699d0799.png)  
enerSpace Webhosting  
Tel.: +49 511 - 219 568 76 | Web:&nbsp;[https://www.enerspace.de](https://www.enerspace.de/)

---

<div class="post-metadata">

### Author: ![andreasberniczki](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@andreasberniczki](https://forum.shopware.com/u/andreasberniczki)
#### Post date: [29. März 2018 um 17:45 UTC](https://forum.shopware.com/t/fehler-bei-pdf-belegerstellung/52090/3 "2018-03-29T17:45:17Z")

</div>

Hallo, vielen Dank für Ihre schnelle Antwort. Jetzt funktioniert alles. Es war tatsächlich im Feld „s\_core\_documents\_box“. DANKE!!!
