---
title: "Fehler bei Eingabe in Commerce"
url: "https://www.typo3.net/d/97896-fehler-bei-eingabe-in-commerce"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2010-03-29"
last_reply: "2010-03-29"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# Fehler bei Eingabe in Commerce

Extensions · 0 Antworten · gestartet 2010-03-29

## Eröffnungsbeitrag

**Reinholdwilli** · 2010-03-29 · [Beitrag #1](https://www.typo3.net/d/97896-fehler-bei-eingabe-in-commerce/1)

Hallo,
werde vermutlich unter Anfänger in Typo3 geführt.
Habe mich an einen shop - commerce - gewagt und bin nach anleitung vorgegangen. Hat ganz gut geklappt, bis ich zum ersten Mal die Produktliste aufrufen wollte.
Dann kam diese Meldung:

Uncaught TYPO3 Exception
#1: PHP : Function ereg_replace() is deprecated in C:\xampp\htdocs\lerntherapie\typo3conf\ext\graytree\lib\class.tx_graytree_leafview.php line 199

t3lib_error_Exception thrown in file
C:\xampp\htdocs\lerntherapie\t3lib\error\class.t3lib_error_errorhandler.php in line 101.

20 t3lib_error_ErrorHandler::handleError(8192, "Function ereg_replace() is deprecated", "C:\xampp\htdocs\lerntherapie\typo3conf\ext\graytree\lib\class.tx_graytree_leafview.php", 199, array)

19 ereg_replace()

C:\xampp\htdocs\lerntherapie\typo3conf\ext\graytree\lib\class.tx_graytree_leafview.php:

00197:   */
00198:  function addTagAttributes($icon,$attr) {

00199:   return ereg_replace(' ?\/?>$','',$icon).' '.$attr.' />';

00200:  }
00201:

18 tx_graytree_leafView::addTagAttributes("<img src="../typo3conf/ext/commerce/res/icons/tabl…gif" width="18" height="16" title="Root" alt="" />", "title="id=0"")

C:\xampp\htdocs\lerntherapie\typo3conf\ext\graytree\lib\class.tx_graytree_leafview.php:

00171:  function wrapIcon($icon,$row) {
00172:    // Add title attribute to input icon tag

00173:   $theIcon = $this->addTagAttributes($icon,($this->titleAttrib ? $this->titleAttrib.'="'.$this->getTitleAttrib($row).'"' : ''));

00174:
00175:    // Wrap icon in click-menu link.

17 tx_graytree_leafView::wrapIcon("<img src="../typo3conf/ext/commerce/res/icons/tabl…gif" width="18" height="16" title="Root" alt="" />", array)

C:\xampp\htdocs\lerntherapie\typo3conf\ext\graytree\lib\class.tx_graytree_view.php:

00836:   if (TYPO3_DLOG && GRAYTREE_VIEW_DLOG)  t3lib_div::devLog('tx_graytree_View::getRootIcon $this->rootIconName = '. $this->rootIconName, GRAYTREE_EXTkey);
00837:

00838:   $res = $this->leafArray[0]->wrapIcon('leafArray[0]->getIconPath(),$this->rootIconName,'width="18" height="16"').' title="Root" alt="" />',$rec);

00839:   return $res;
00840:  }

16 tx_graytree_View::getRootIcon(array)

C:\xampp\htdocs\lerntherapie\typo3conf\ext\graytree\lib\class.tx_graytree_view.php:

00377:     // Artificial record for the tree root, id=0
00378:    $rootRec = $this->getRootRecord($startuid);

00379:    $rootIcon = $this->getRootIcon($rootRec);

00380:   }
00381:   $firstHtml .= $rootIcon;

15 tx_graytree_View::getTree(0, 999, "<img src="clear.gif" width="14" height="14" alt="" />")

C:\xampp\htdocs\lerntherapie\typo3conf\ext\graytree\lib\class.tx_graytree_view.php:

00291:    $this->bank=$idx;
00292:     $depthD='backPath,'gfx/ol/blank.gif','width="18" height="16"').' alt="" />';

00293:     $this->getTree($uid,999,$depthD);

00294:
00295:      // Add tree:

14 tx_graytree_View::getBrowsableTree()

C:\xampp\htdocs\lerntherapie\typo3conf\ext\graytree\lib\class.tx_graytree_browsetree.php:

00129:   */
00130:  function printTree() {

00131:   $this->tree = $this->treeView->getBrowsableTree();

00132:   return $this->tree;
00133:  }

13 tx_graytree_browseTree::printTree()

Ich hab keine Ahnung
 :(  :(  bräuchte dringend Hilfe um mir weitere Tage/Wochen an Suche zu ersparen.

Gruß
Reinholdwilli[/url]

---

Quelle: „Fehler bei Eingabe in Commerce“, typo3.net, https://www.typo3.net/d/97896-fehler-bei-eingabe-in-commerce
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
