Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Everything works perfect but I'm getting this error when I try to hit the edit button under OPTION VALUES. The delete button there works fine... just not the edit button... when I hit the edit button it gives me this error:

 

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

select products_options_values_name, sort_order from products_options_values where products_options_values_id = '1' and language_id = '1'

[TEP STOP]

 

Does anyone who know php know a fix for this? I'm clueless :blink:

 

Thanks in advance! Any assistance would be greatly appreciated!

Posted

Oops :( Sorry for the double post... it crashed on me and told me to redo it... Gahhhh sorry...

 

If anyone can help me out with this that would be awesome. Thank you!

Posted

Ok so far I know that this is what's causing the error message:

 

$value_name = tep_db_query("select products_options_values_name, sort_order from " . TABLE_PRODUCTS_OPTIONS_VALUES . " where products_options_values_id = '" . (int)$values_values['products_options_values_id'] . "' and language_id = '" . (int)$languages[$i]['id'] . "'");

 

The original version is:

 

$value_name = tep_db_query("select products_options_values_name from " . TABLE_PRODUCTS_OPTIONS_VALUES . " where products_options_values_id = '" . (int)$values_values['products_options_values_id'] . "' and language_id = '" . (int)$languages[$i]['id'] . "'");

 

I dunno what needs to be done though to correct it :( The above is causing it not to sort by sort number... and giving the error message above...

 

Anyone have any ideas? Any PHP pros here? Please help... any assistance would be greatly appreciated!

Posted

Gahhh!! I dunno :( I double checked triple checked everything and yes the field "sort_order" has been added to MYSQL.... I've uninstalled the whole contribution and reinstalled it... uninstalled the whole oscommerce cart and reinstalled it... and it still doesn't work...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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