Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

extra images problem


jennki

Recommended Posts

Hi, I've added "Extra Image" contribution in my oscommerce, after finishing the installation process, I cannot run the "Extra images", I got the following error message:

 

Extra Product Images

 

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-16, 16' at line 1

 

The SQL syntax is as below:

 

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;

 

INSERT INTO configuration VALUES ('', 'Display Extra images (on products_info)', 'DISPLAY_EXTRA_IMAGES', 'true', 'Display Extra images', 1, 87, '2005-11-17 17:20:36', '2005-10-20 17:40:05', '', 'tep_cfg_select_option(array(\'false\', \'true\'),');

 

 

Could anyone tell me what I've got wrong? Thanks in advance.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...