Radical weight reducing formulas as the one you are adopting are dangerous. they can cause a lot of digestive disorders. In your case it appears to be either fatty liver
or gall stone disease. There is even apossibility of peptic ulcer disease
. Stop all your dieting formulas. Go back to your original diet but in reduced amounts. Exercise regularly. I am sure you will lose weight and attain better fitness. For the pain and other symptoms get the following investigations done.
1. Liver function tests
of the abdomen
4. stool for occult blood
6. Upper Gi endoscopy