Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Switch 1.6 SQL Duplicate column name?!


Recommended Posts

Hi there,


I'm pretty new to MySQL, PHP and oscommerce in general, I've learnt so much by going through the forums but I'm afraid I'm now pretty stuck!


I've just installed the Switch 1.6 contribution which is fantastic! It's actually the first contribution that I've got to work to the extent that it currently is. However, now that I've edited and uploaded all the php files, I've come to the point in the readme file that reads:


"Then you will need to run the "cvv+issue.sql" script to modify the order DB table"


When I run the info within the SQL file in myPHPAdmin, I get the following error:


SQL query:


ALTER TABLE orders ADD cc_start varchar( 4 ) default NULL AFTER cc_expires,

ADD cc_issue varchar( 3 ) default NULL AFTER cc_start,

ADD cc_cvv varchar( 3 ) default NULL AFTER cc_issue


MySQL said:


#1060 - Duplicate column name 'cc_start'


Any ideas as to what I should do from here?!


Any help will be incredibly gratefully recieved!


Thanks in advance!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...