Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sql error


Guest

Recommended Posts

Hi

 

All

 

i am trying to install this and i have a error on the sql file

 

 

Error

SQL query:

 

ALTER TABLE `orders` ADD `usps_track_num` VARCHAR( 40 ) AFTER `orders_date_finished` ,

ADD `ups_track_num 2` VARCHAR( 40 ) AFTER `usps_track_num` ,

ADD `fedex_track_num 2` VARCHAR( 40 ) AFTER `ups_track_num` ,

ADD `fedex_track_num 2` VARCHAR( 40 ) AFTER `fedex_track_num` ,

ADD `dhl_track_num 2` VARCHAR( 40 ) AFTER `fedex_freight_track_num`

 

MySQL said:

 

#1054 - Unknown column 'fedex_freight_track_num' in 'orders'

 

 

 

as i dont now alot about mysql would i of you help me out here

 

thanks

Link to comment
Share on other sites

You might want to remove an extra freight_

 

ADD `dhl_track_num 2` VARCHAR( 40 ) AFTER `fedex_freight_track_num`

 

ADD `dhl_track_num 2` VARCHAR( 40 ) AFTER `fedex_track_num`

 

But I would prefer to see the whole statement.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Perhaps you ment:

 

ALTER TABLE `orders` ADD `usps_track_num` VARCHAR( 40 ) AFTER `orders_date_finished` ,

ADD `ups_track_num 2` VARCHAR( 40 ) AFTER `usps_track_num` ,

ADD `fedex_track_num 2` VARCHAR( 40 ) AFTER `ups_track_num` ,

ADD `fedex_track_num 2` VARCHAR( 40 ) AFTER `fedex_track_num` ,

ADD `dhl_track_num 2` VARCHAR( 40 ) AFTER `fedex_track_num 2`

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

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.

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