Jump to content
Sign in to follow this  
DavidRad

Export EP errors

Recommended Posts

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 by DavidRad

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×