Jump to content

MySql error 1054:Unknown column 'T.option_type' in 'field


Guest

Recommended Posts

I get this error message when trying to view a product:

SQL:

SELECT B.*, T.option_name, T.option_type, M.value_name FROM CubeCart_options_bot AS B LEFT JOIN CubeCart_options_mid AS M ON B.value_id = M.value_id, CubeCart_options_top AS T WHERE B.option_id = T.option_id AND B.product = 74 ORDER BY T.option_name ASC

I have no idea what to do with this. I'm afraid that a fresh install will not fix the problem because it's somewhere in the coding for the database.

Does anyone know what this error means?

http://segwaynm.com

Link to comment
Share on other sites

That was it! I had just upgraded the store and everything seemed to be working fine for about 15 minutes then, my server had a database crash. I couldn't get it to work after he fixed his side.

He probably reloaded the old database over the new script. I just added the field "option_type" and it works fine.

Thank you.

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