Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Export EP errors


DavidRad

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
Link to comment
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

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...