dansino Posted May 10, 2010 Share Posted May 10, 2010 Hi! try to run Google Base /Froogle, and I got the error message: Fatal error: Call to undefined function tep_get_parent_categories() in /home/public_html/includes/classes/seo.class.php on line 1044 then I went to the seo.class.php, ----------------------------------------------------------------------------------------------------------------- 1042 function get_all_category_names($cID, $cName){ 1043 $parArray = array(); //get all of the parrents 1044 tep_get_parent_categories($parArray, $cID) ; foreach ($parArray as $parentID) { $sql = "SELECT LOWER(categories_name) as parentName FROM ".TABLE_CATEGORIES_DESCRIPTION." cd WHERE categories_id = '".(int)$parentID."' AND cd.language_id = '".(int)$this->languages_id."' LIMIT 1"; $result = $this->DB->FetchArray( $this->DB->Query( $sql ) ); $cName = $result['parentName'] . '-' . $cName; //build the new string } return (str_replace(" ", "-", $cName)); } ---------------------------------------------------------------------------------------------- Any ideal? Thanks! Dansino Link to comment Share on other sites More sharing options...
Jan Zonjee Posted May 10, 2010 Share Posted May 10, 2010 Fatal error: Call to undefined function tep_get_parent_categories() in /home/public_html/includes/classes/seo.class.php on line 1044 Strange, this function is available in a osC 2.2 installation in /catalog/includes/functions/general.php Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.