blissedgirl Posted July 5, 2006 Posted July 5, 2006 Hi, is there a fix for this problem I'm having in the admin? I try to add for example: "Usually ships in 4 weeks" to "product availability" options in admin. I get this error: 1054 - Unknown column 'languages_id' in 'field list' insert into products_availability (products_availability_name, products_availability_id, languages_id, date_added) values ('e', '', '1', now()) [TEP STOP] So then I tried to simply edit an existing availability option, but then I get this error: Fatal error: Call to undefined function: tep_get_products_availability_name() in .../admin/products_availability.php on line 180 so when I check that line in admin/products_availability.php, I see: $products_availability_inputs_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('products_availability_name[' . $languages[$i]['id'] . ']', tep_get_products_availability_name($mInfo->products_availability_id, $languages[$i]['id'])); } I'm not experienced enough to spot whether a code error is there or perhaps in the tables being queried. Does anyone have a suggestion where to look to correct it? thanks anyone! ;) Beautiful design is everything...the rest is just details!!
♥Vger Posted July 5, 2006 Posted July 5, 2006 products_availability is not part of a default osCommerce install - so you've applied a modification incorrectly. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.