This is a discussion on Additioanl Table within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I am trying to add an addtional databse table to oscommerce for a project on an infobox. When I query ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I am trying to add an addtional databse table to oscommerce for a project on an infobox. When I query the table, it sats the table does not exist. Is there any where else I need to define the table other than within the infobox query. I tested it by rebuilding the manufactures.php infobox. I setup a duplicate manufactures table and named it manufacturesa. When I query from the file using manufactures, it works as expected. When querying the new table (manufacturesa) I get an error saying the table does not exist? Any ideas or help. |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| Did you look (search) in all files for where the manufacture table is used..... Chances no... You missed one part. Telling OSC what your new table is.... look in: database_tables.php define('TABLE_MANUFACTURERS', 'manufacturers'); create your new one just below. define('TABLE_MANUFACTURERSA', 'manufacturersa');
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| table alignment | bibleman | osCMax v2 Customization/Mods | 5 | 07-30-2005 01:10 PM |
| table file | flexx | osCommerce 2.2 Modification Help | 1 | 05-19-2005 06:15 AM |
| add a new mysql table | Dumb_Question | osCommerce 2.2 Modification Help | 0 | 12-14-2003 12:37 PM |
| .css cant seem to fix table | Gus | osCommerce 2.2 Modification Help | 3 | 11-21-2003 08:32 AM |
| Add new fields/table to product table | Anonymous | osCommerce 2.2 Modification Help | 0 | 10-21-2002 05:23 AM |