Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Attribute Manager v4b


mike javelin

Recommended Posts

I've just been trying to install the attribute manager v4b,

 

It was on a clean main install,

 

When I click on Categories/Products

I get Fatal error: Call to undefined function: tep_array_merge() in /catalog/admin/categories.php on line 673

 

The link to *Attribute manager appears and seems to work.

 

I've checked and reinstalled twice, any ideas? :blink:

Edited by mike javelin
Link to comment
Share on other sites

put this in your /includes/functions/general.php

 

///
//Define tep_array_merge
function tep_array_merge($array1, $array2, $array3 = '') {
   if ($array3 == '') $array3 = array();
   if (function_exists('array_merge')) {
     $array_merged = array_merge($array1, $array2, $array3);
   } else {
     while (list($key, $val) = each($array1)) $array_merged[$key] = $val;
     while (list($key, $val) = each($array2)) $array_merged[$key] = $val;
     if (sizeof($array3) > 0) while (list($key, $val) = each($array3)) $array_merged[$key] = $val;
   }

   return (array) $array_merged;
 }

 

Jud

Link to comment
Share on other sites

  • 1 year later...

I am trying to install New Attribute Manager. Sounds like an excellent contribute.

 

I have checked the installation a few times, i have option type already installed.

 

The problem i get is when once i have selected a product and click edit.... it goes to this url: http://admin/new_attributes.php :'(

 

obviously that is wrong, can anyone advice me where i went wrong. Any ideas will be much appreciated.

 

Thanks.

 

Mohan

Link to comment
Share on other sites

Well its working now. The reason it didnt work before was because I had admin cofigure.php file configured wrong.

 

I had an extra / after the domain address - correct example below without the /

 

define('HTTP_SERVER', 'http://domain.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://domain.co.uk');

define('HTTPS_CATALOG_SERVER', 'https://domain.co.uk');

 

I thought I post this message as i have seen others having the same problem on here. Hope it works for you.

 

 

I am trying to install New Attribute Manager. Sounds like an excellent contribute.

 

I have checked the installation a few times, i have option type already installed.

 

The problem i get is when once i have selected a product and click edit.... it goes to this url: http://admin/new_attributes.php  :'(

 

obviously that is wrong, can anyone advice me where i went wrong. Any ideas will be much appreciated.

 

Thanks.

 

Mohan

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