i had the same problem as a side effect from the Oxycocet (Percocet); was taking Docusate Sodium since surgery, then after 5 days, no b.m., (but gas pains) started taking Senokot. Took a few more days, then had severe diarrhea , ended up stopping all meds at the 3 week mark as i was also so nauseated i couldn't eat. i'm not recommending anyone else do that, but i just had to get it out of my system. i started eating a brand of natural black liquorice and that has kept me regular since, along with the fact that i'm eating normally again at 7 weeks post op.
i really do empathize with you ~ sorry i can't be more helpful. a lot of us have the same problem here. feel better soon.