I'm in that position now, stomach pains and feel really sick so i feel your pain! Your just having a rough patch so don't worry you'll go back to normal in no time! Try gradually building up what you eat with really bland food like toast and potatoes and before you know it you'll be eating again, and like you say the fact that your not eating is probably the reason it's carried on so long!