Zum Inhalt springen

fatal-error

Erstellt am 1. September 2004 · Noch keine Antworten

Tags: Frage

bernhardwendt ·

hi!

hab in im cms "typo3" einen shop umgebaut!!! jetzt wird mir aber folgender fehler ausgegeben:

Fatal error: Call to a member function on a non-object in /home/ewwene01/www.eww.at/typo3conf/ext/tt_products/pi/class.tx_ttproducts.php on line 615

in dieser besagten zeile steht folgendes script:

function initCategories()    {
            // Fetching catagories:

//zeile 615 anfang
         $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'tt_products_cat', '1=1'.$this->cObj->enableFields('tt_products_cat'));
//zeile 615 ende
        $this->categories = array();
        while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res))    {
            $this->categories[$row["uid"]] = $row["title"];
        }    
    }

kennt jemand dieses problem!!???