Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Credit Class v5.03 gift vouchers


Recommended Posts

I'm hoping someone can assist me in this one :)

 

I installed the Credit Class v5.03 and am having check out problems.

 

First it told me: Unknown column 'Order_Status_Id' - found the fix for that.

 

Now I'm getting :

 

1054 - Unknown column 'comments' in 'field list'

 

insert into orders_status_history (orders_id, orders_status_id, date_added, customer_notified, comments) values ('3', '', now(), '1', '')

 

[TEP STOP]

 

I presume I have to insert 'comments' into the table - however, what would the attributes be?

 

Also - for you sql peeps - the values at the end of the error -values ('3', '', now(), '1', '') - does this information tell me how the field should be set up?

 

And yes, I'm not very good with sql. :)

Link to comment
Share on other sites

insert into orders_status_history (orders_id, orders_status_id, date_added, customer_notified, comments) values ('3', '', now(), '1', '')

Also - for you sql peeps - the values at the end of the error -values ('3', '', now(), '1', '') - does this information tell me how the field should be set up?

No, the final '' tells you that comments can take empty values. The other values are for the other fields (orders_id, etc.).

 

In my db, comments is of type text. You should be able to let everything else default when you create it.

 

Good luck,

Matt

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