Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to undefined function: tep_get_t


MinkgLove.com

Recommended Posts

Hi,

 

I just installed Article Manager, but get this error when I click in Admin on "Topics/Articles":

 

Fatal error: Call to undefined function: tep_get_topic_tree() in /home/xxxxxx/public_html/store/admin/articles.php on line 963

 

Everything else seems to be ok.

As the error comes from a file out of the installation-zip, I don't think it has anything to do with something I did wrong (I hope). Anybody any idea what could be wrong?

 

Also, is it possible to replace OSC's standard Product/Category function with this Article/Topics mod or is it more for someone that sells articles, lectures and books rather than physical goods?

 

Any help is truly appreciated!

Thanks

C?cile

Link to comment
Share on other sites

you will be missing the function tep_get_topic_tree() from the includes/functions/general.php file

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

  • 2 years later...
you will be missing the function tep_get_topic_tree() from the includes/functions/general.php file

 

@hi 241

 

can you explain me, what I must do in the file general.php, to resolve the same problem?

 

fatal error: Call to undefined function: tep_get_topic_tree() in /usr/local/psa/home/vhosts/xxxxx/httpdocs/loja/admin/articles.php on line 975

 

thank you vera much

Link to comment
Share on other sites

check that you have the file catalog/admin/includes/functions/articles.php and that this file contains the function

function tep_get_topic_tree(

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

check that you have the file catalog/admin/includes/functions/articles.php and that this file contains the function

function tep_get_topic_tree(

 

Hi 241, thank you very much for your reply.

This file is the original file is came in the contribution, I did not modify it.

In this file I find this:

function tep_get_topic_tree($parent_id = '0', $spacing = '', $exclude = '', $topic_tree_array = '', $include_itself = false) {

global $languages_id;

Link to comment
Share on other sites

do you have this in admin/includes/application_top.php

// include the articles functions
 require(DIR_WS_FUNCTIONS . 'articles.php');

// Article Manager
 if (isset($HTTP_GET_VARS['tPath'])) {
$tPath = $HTTP_GET_VARS['tPath'];
 } else {
$tPath = '';
 }

 if (tep_not_null($tPath)) {
$tPath_array = tep_parse_topic_path($tPath);
$tPath = implode('_', $tPath_array);
$current_topic_id = $tPath_array[(sizeof($tPath_array)-1)];
 } else {
$current_topic_id = 0;
 }

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

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