I can only speak from experience but it sounds like you have developed Candida/fungus.
The only way I know to get control of it is Lufenuron and lots and lots of probiotics. I had a similar experience and even my vitamins were coming out the same as they went in. I was basically dying of malnutrition
You could try Hydrachloric acid (HCL)supplement and enzymes with your meals. It didn't work for me but some have used it.
If you choose Lufenuron DO NOT take the full dose right away. If your fungus is bad the Herxheimer reaction is very bad. The normal dose is 9 grams once a month. I took 400 MG and spent 3 days in bed. The herx from the death of the fungus was MUCH worse than the death of any parasite.
Lufenuron is supposedly hard on the liver but I was at a point that I had no other options. Zapper did not work on the fungus. Fasting did not work on the fungus. HCL and probiotics just made me nauseated.
Lufenuron gave me the turning point in my health and war on parasites. I was not winning until I took it. I still take it almost 18 months later.
The rule is to keep taking it until you feel nothing when you take it. I stopped once because I couldn't believe there was still fungus. Two months later I started it again and had terrible die off. My dogs get 400 MG once a month also. It works on fleas, fungus, and parasite eggs.
Average cost is 1 USD per 400MG. I think it is all made in China so there is always a contamination risk. Still better than death.