Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Call to undefined function tep_db_query


pillea

Recommended Posts

Can someone please help me define this function. The error I'm getting is:

Fatal error: Call to undefined function tep_db_query() in /var/www/localhost/htdocs/catalog/index.php on line 264

 

Line 264 in my index.php file reads:

 $category_query = tep_db_query("select cd.categories_name from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");

 

Thanks to everyone who replies!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...