mike javelin Posted January 11, 2004 Share Posted January 11, 2004 (edited) 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 January 11, 2004 by mike javelin Quote Link to comment Share on other sites More sharing options...
Jud Posted January 12, 2004 Share Posted January 12, 2004 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 Quote Link to comment Share on other sites More sharing options...
mike javelin Posted January 12, 2004 Author Share Posted January 12, 2004 many thanks Quote Link to comment Share on other sites More sharing options...
mohan Posted January 25, 2005 Share Posted January 25, 2005 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 Quote Link to comment Share on other sites More sharing options...
mohan Posted January 25, 2005 Share Posted January 25, 2005 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 <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.