Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer Data Base error please help


Guest

Recommended Posts

After installing the usps update and following several post on this board I was able to get the shipping to work but now I get a new error.

 

 

 

Fatal error: Call to undefined function: tep_get_sources_name() in /var/www/html/catalog/admin/customers.php on line 763

 

Please any help would be greatly appreciated..

Link to comment
Share on other sites

After installing the usps update and following several post on this board I was able to get the shipping to work but now I get a new error.

Fatal error: Call to undefined function: tep_get_sources_name() in /var/www/html/catalog/admin/customers.php on line 763

 

Please any help would be greatly appreciated..

Here is the code from my customers.php the error looks like it is from the refferal contribution

 

//BOF rmh referral http://www.oscommerce.com/community/contributions,2159

$source_query = tep_db_query("select customers_info_source_id from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . $customers['customers_id'] . "'");

$source = tep_db_fetch_array($source_query);

 

$entry_referral = tep_get_sources_name($source['customers_info_source_id'], $customers['customers_id']);

//EOF rmh referral

Link to comment
Share on other sites

Here is the code from my customers.php the error looks like it is from the refferal contribution

 

//BOF rmh referral http://www.oscommerce.com/community/contributions,2159

$source_query = tep_db_query("select customers_info_source_id from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . $customers['customers_id'] . "'");

$source = tep_db_fetch_array($source_query);

 

$entry_referral = tep_get_sources_name($source['customers_info_source_id'], $customers['customers_id']);

//EOF rmh referral

go through the installation instructions again and double check all steps. You're missing that function called tep_get_sources_name

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