---
title: "fpdf und die TYPO3 Notices"
url: "https://www.typo3.net/d/99078-fpdf-und-die-typo3-notices"
source: "typo3.net"
tags: ["Extensions","Entwicklung","Frage","PDF","PHP","TYPO3 4"]
created: "2010-05-26"
last_reply: "2010-05-26"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# fpdf und die TYPO3 Notices

Extensions › Entwicklung · 0 Antworten · gestartet 2010-05-26

## Eröffnungsbeitrag

**hpatrick** · 2010-05-26 · [Beitrag #1](https://www.typo3.net/d/99078-fpdf-und-die-typo3-notices/1)

Hallo zusammen,
ich hab bei der Entwicklung einer Extension ein kleines Problem beim PDF-Export. Verwenden möchte ich die FPDF lib, wozu im allgemeinen auch keine Fragen bestehen.
Will ich dann jedoch den PDF Export ausführen, wird gemeldet: "**FPDF error**: Some data has already been output, can't send PDF file"

Also auf error_reporting(E_ALL) umgeschaltet, da ich mir ansonsten nichts vorstellen konnte, wo eine frühere Ausgabe herkommen sollte. Das Ergebnis war das folgende:

**Notice**: Undefined index: systemLog in /www/htdocs/****/typo3/typo3_src-4.3.3/t3lib/class.t3lib_div.php on line 5410

**Notice**: Undefined variable: TYPO3_CONF_VARS in /www/htdocs/****/cms/typo3conf/ext/fpdf/class.tx_fpdf.php on line 427

**Notice**: Undefined index: fpdf in /www/htdocs/****/cms/typo3conf/ext/fpdf/fpdf.php on line 164

**Notice**: Undefined property: PDF::$tx_fpdf in /www/htdocs/****/cms/typo3conf/ext/fpdf/class.tx_fpdf.php on line 50

**Notice**: Trying to get property of non-object in /www/htdocs/****/cms/typo3conf/ext/fpdf/class.tx_fpdf.php on line 50

**Notice**: Undefined property: PDF::$tx_fpdf in /www/htdocs/****/cms/typo3conf/ext/fpdf/class.tx_fpdf.php on line 50

**Notice**: Trying to get property of non-object in /www/htdocs/****/cms/typo3conf/ext/fpdf/class.tx_fpdf.php on line 50

Wie kann ich den Notices am besten begegnen? Zumindest für die erste Meldung wird ja beim nächsten Core Update wieder auftauchen. Gleiches für die fpdf Meldungen...

---

Quelle: „fpdf und die TYPO3 Notices“, typo3.net, https://www.typo3.net/d/99078-fpdf-und-die-typo3-notices
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
