Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error After Install


Guest

Recommended Posts

I have installed Related Products on top of an existing STS4 installation. After going through the installation several times, I get the following error when accessing related products in admin:

 

Fatal error: Call to undefined function: tep_get_products_name() in /home/ppleaseo/public_html/shop/admin/optional_related_products.php on line 260

 

Any direction would be greatly appreciated.

 

Seems the culprit is somewhere in here:

 

<?php

$next_id = 1;

$attributes = tep_db_query($attributes);

while ($attributes_values = tep_db_fetch_array($attributes)) {

$products_name_master = tep_get_products_name($attributes_values['pop_products_id_master']);

$products_name_slave = tep_get_products_name($attributes_values['pop_products_id_slave']);

if (RELATED_PRODUCTS_ADMIN_USE_MODEL == 'True') {

$mModel = tep_get_products_model($attributes_values['pop_products_id_master']) . RELATED_PRODUCTS_ADMIN_MODEL_SEPARATOR . ' ';

$sModel = tep_get_products_model($attributes_values['pop_products_id_slave']) . RELATED_PRODUCTS_ADMIN_MODEL_SEPARATOR . ' ';

} else {

$mModel = $sModel = '';

}

$pop_order_id = $attributes_values['pop_order_id'];

$rows++;

?>

 

Any help and direction is appreciated.

Edited by buddybooker
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.
Note: Your post will require moderator approval before it will be visible.

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...