Change in admin/products_attributes row 76(or somewhere near...) tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values ('', '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "','', '".tep_db_input($attributes_sort)."')"); For some reason the last part was missing....
Just got the same problem today. At first it seemed to work, but after first deleting all of my product attributes suddenly this problem showed up when trying to insert product attributes. I will try to solve it if I have time. If anyone else comes up with a solution please tell.