Guest Posted December 24, 2002 Posted December 24, 2002 I installed the Quantity Controller and finished configuring everything (or so I thought) and when I go to the Admin to add categories I get this error after adding them: Fatal error: Call to undefined function: tep_get_categories_name() in /home/www/synapse-se/commerce/admin/categories.php on line 1266 The line of code I "think" it's talking about is the following: $contents[] = array('text' => TEXT_CATEGORIES . ' ' . tep_get_categories_name($cPath) . ' ' . tep_get_categories_name($cID) . '<br>' . TEXT_DATE_ADDED . ' ' . tep_date_short($cInfo->date_added)); Anyone have any ideas? Thanks! Quote
Ajeh Posted December 24, 2002 Posted December 24, 2002 Sounds like you did not add the include statement to the /admin/includes/application_top.php file. :shock: In the ReadMe.txt file: CHANGES TO /admin/includes/application_top.php Add to the bottom of the file just before the ?> : // BOF: WebMakers.com Added: Functions Library include(DIR_WS_FUNCTIONS . 'webmakers_added_functions.php'); // EOF: WebMakers.com Added: Functions Library This will add additional functions and additional filename definitions That should fix the problem. :D Quote
Guest Posted December 24, 2002 Posted December 24, 2002 That worked so now I can go in and add products but down at the discount pricing option I get a table that looks somewhat odd with these titles: TEXT_DISCOUNTS_TITLE TEXT_DISCOUNTS_TITLE TEXT_DISCOUNTS_BREAKS 1 2 3 4 TEXT_DISCOUNTS_QTY TEXT_DISCOUNTS_PRICE Any ideas from here? Thanks Again! Quote
Ajeh Posted December 24, 2002 Posted December 24, 2002 Now go add in the language files ... :shock: You might read through the ReadMe.txt file once more and see where you are missing the additions to the application_top and english.php files on the catalog and admin side for everything to work right. Quote
Guest Posted December 24, 2002 Posted December 24, 2002 I really appreciate it! This is exactly what I am looking for! Quote
Ajeh Posted December 24, 2002 Posted December 24, 2002 Hope this has everything running happily for you now ... :D Quote
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.