DavidRad Posted October 24, 2007 Posted October 24, 2007 (edited) Easy Populate 2.76d-MS2 Working flawlessly until this morning and now I'm getting the below error, which brings up blank page: [Wed Oct 24 08:08:07 2007] [error] PHP Fatal error: Call to undefined function tep_get_sub_categories() in /usr/home/mhr/www/admin/easypopulate276d.php on line 1180 // build filters $sql_filter = ''; if (!empty($_GET['epcust_category_filter'])) { $sub_categories = array(); $categories_query_addition = 'ptoc.categories_id = ' . (int)$_GET['epcust_category_filter'] . ''; ### LINE 1180 --> ### tep_get_sub_categories($sub_categories, $_GET['epcust_category_filter']); foreach ($sub_categories AS $ckey => $category ) { $categories_query_addition .= ' or ptoc.categories_id = ' . (int)$category . ''; I'm no php wiz so hope this is a simple problem of declaring this function, or something that a nob could understand. Thanks Edited October 24, 2007 by DavidRad Quote
Jack_mcs Posted October 24, 2007 Posted October 24, 2007 That was a coding error in that version. It is because, as I recall, a category is missing and EP can't create it. You should upgrade to version F by surfalot (or later if he has one). Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
DavidRad Posted October 25, 2007 Author Posted October 25, 2007 That was a coding error in that version. It is because, as I recall, a category is missing and EP can't create it. You should upgrade to version F by surfalot (or later if he has one). Jack Thanks. That did it! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.