Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Extra Images contribution


woekiewoekie

Recommended Posts

http://www.oscommerce.com/community/contributions,1289

 

I have a problem with this contribution

 

1146 - Table 'compusite.TABLE_ADDITIONAL_IMAGES' doesn't exist



delete from TABLE_ADDITIONAL_IMAGES where products_id = '308'



[TEP STOP]

 

This is what I added to my Mysql tables

 

DROP TABLE IF EXISTS products_extra_images;

CREATE TABLE products_extra_images (

 products_extra_images_id int(11) NOT NULL auto_increment,

 products_id int(11) default NULL,

 products_extra_image varchar(64) default NULL,

 KEY products_extra_images_id (products_extra_images_id)

) TYPE=MyISAM;

 

What is the problem :(

Link to comment
Share on other sites

You must add the table define to database_tables.php or application_top.php depending on your version of osCommerce:

 

define('TABLE_ADDITIONAL_IMAGES', 'products_extra_images');

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...