Hey,
First off welcome back to the forums, as for your cham problem I am sorry to hear about it.
Usually chams will be stubborn with what they eat, have to keep changing food regularily but to not be eating and pooping is not good.
Lets start off with the basics:
-Cage size?
-Screen or glass cage?
-Temps of the cage, basking and average spot?
-UVB lighting, what number are you using, should be 5.0 and is it tube or compact fluorescent?
-How long have you had that UVB light in, (6 months is roughly the changing date)
-Is he active or lethargic?
- How often do you mist him?
- If you are using live plants what kind are they?
Just some of these questions will help the more experienced people answer your question.
I have had this problem before, and I tried every food that I could get my hands on, wax worms, silks, horn worms, crix, super worms etc... he just wouldn't eat much
I took him in to the vet and turned out he had hook worms, and coccidia, once that was fixed he ate like a champ again.
I hope this is not the case for you, but if your cham has been to the vet before, get what ever poo you can from him (preferably fresh) and just run it to the vet and get a flotation test done, they should be able to tell if it is a parasite and give you some meds you can apply to him yourself.
Good luck, and keep us posted if you bring him in.