The problem with portion could be: have you changed any potion name in your itemx.cfg??? if u have changed for example: BigHPPotion for Health potion you should got to portion.cfg and replace it too, have you deleted any potion?(some people delete small HP,MP and SP pots) then delete it in the potion.cfg
The same thing happens with builditem error, if you have changed or deleted any "manufacturable" item you should reflect it in the builditem.cfg.