Desertsky Posted January 24, 2009 Share Posted January 24, 2009 (edited) If you install this contrib to a fresh OSC install, you may get this error if you just copy the files: 1146 - Table 'commerce.TABLE_ADMINISTRATORS' doesn't exist select id from TABLE_ADMINISTRATORS limit 1 Then check your: admin/includes/database_tables.php file. it is probably missing this: define('TABLE_ADMINISTRATORS', 'administrators'); Here is where the missing code should be: <?php/* $Id: database_tables.php,v 1.1 2003/06/20 00:18:30 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // define the database table names used in the project define('TABLE_ADDRESS_BOOK', 'address_book'); define('TABLE_ADDRESS_FORMAT', 'address_format'); define('TABLE_ADMINISTRATORS', 'administrators'); define('TABLE_BANNERS', 'banners'); define('TABLE_BANNERS_HISTORY', 'banners_history'); define('TABLE_CATEGORIES', 'categories'); Edited January 24, 2009 by Desertsky Quote Link to comment Share on other sites More sharing options...
aerofran Posted February 25, 2009 Share Posted February 25, 2009 i have that line and still having the problem 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.