Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Vendor Locator


darkangel

Recommended Posts

Hello people,

 

I know this is not the best way to get a post, but I am having hard trouble with this installation.

 

The name of the contribution is called Vendor Locator,

 

I have pretty much everything set, it works in the catalog side, but for some reason I am getting something with the administration side I am getting this code:

 

Fatal error: Call to undefined function: tep_get_languages() in /home/lglivart/public_html/catalog/admin/index.php on line 58

 

Now the code that this is targeting refers to this code:

 

  $languages = tep_get_languages();
 $languages_array = array();
 $languages_selected = DEFAULT_LANGUAGE;
 for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
   $languages_array[] = array('id' => $languages[$i]['code'],
                              'text' => $languages[$i]['name']);
   if ($languages[$i]['directory'] == $language) {
     $languages_selected = $languages[$i]['code'];
   }
 }

 

Now, If I delete this code the administration works fine, but In the configuration I still get a problem. Any idea on what to do from here? I am very lost, or if anyone has use this contribution please give me a hand...

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