missing database_tables.php

goldencrown <[email protected]> 11 Sep 2003 18:27:16 -0000
Newsgroups gmane.comp.web.oscommerce.contributions
Message-ID <e3076669c506e8e39003da6d910562f8@osCommerce-Forums>
This message was sent from: Contributions
http://forums.oscommerce.com/viewtopic.php?p=228007#228007
----------------------------------------------------------------

[quote]
tiffanycox
Tiffany cox:
am new at this so please forgive my lack of knowledge.

I am currently using the 2.2MS2, but I do not have a catalog/inlcudes/database_tables.php file??? Therefore I can't make necessary changes.

Is it possible that I am missing a modification?

Any help would be appreciated.

Thanks,

TC[/quote]

Ok so I was having the same problem and I could not figure out issue at all. But for the past few days I have been looking into the problem. It looks like our version of oscommerce "2.2ms2" has some changes. 
First change:

database_tables.php does not exist they moved the list of tables to the catalog/includes/application_top.php

Ok the next thing that was changes is the products_new.php. What they did was move some of the functions so that it can be used by other files but I am not sure about that yet. So to make the changes is catalog/includes/modules/products_new.php there you will find the line 

[code]
$products_price = $currencies->display_price($products_new['products_price'], tep_get_tax_rate($products_new['products_tax_class_id']));
[/code]
I found it on line 26

Ok on the last change is the same as the catalog side but it is for the admin side same location 

admin/includes/application_top.php  

This is where you make the change 
[quote]
admin/includes/database_tables.php

Around line 57

After:

define('TABLE_WHOS_ONLINE', 'whos_online');
define('TABLE_ZONES', 'zones');

Add:

define('TABLE_PRODUCTS_GROUPS', 'products_groups');
[/quote]


That is it I hope this helps you out and other people as well :D