Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

trouble with installing multiple images contribution


Invado

Recommended Posts

Hi there,

I would really like to get the multiple images contribution installed. I'm not very good on the computer, but I have managed to install a few simple contributions and I seem to be getting the hang of it a little bit. Most of the stuff I have done only requires a little editing and cutting and pasting files. The very first step of this contribution has me confused because I have never had to do anything like it yet. What exactly is meant by this: (ie can you explain it a tiny bit more please?)

 

 

Run the following SQL statement in whatever program you use to access your OSC database (?phpMyAdmin?) or if you have an option to run a *.sql file, I have included one that will accomplish the same thing so you can just run the included extra_images.sql file, either way should work fine.

 

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;

Link to comment
Share on other sites

Your database needs to be extended to include an extra table called products_extra_images.

 

Running this piece of code will take care of it for you.

You need to access your database by (perhaps) phpMyAdmin.

 

If you get the following example screen php.jpg

click on the left hand header box that says SQL and run the code in the resulting pop-up box

 

Good luck. :)

one-click installation..

Dave's info

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...