osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Additioanl Table

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-13-2004, 11:02 AM
New Member
 
Join Date: Oct 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doggifts
Default Additioanl Table

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-13-2004, 01:40 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 04:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax