You probably didn't read the text clues for each pipe before you tried to put the items in. You might want to drop the items in a corner then read the text on each pipe. They will give you clues on which items should go into which pipes. Then speak to Quallo to find out what the sequence should be. I can't quite remember it.
------------------
Memnoch - Custodian of the Holy Flame