Sale_id etc errors solved, adding items to database made possible