If not enough of the joints have failed to enable you to open the joints tthen try this. Wet the joint with tap water so that it soaks into the cracks, leave it for about 5 minutes then add some good quality PVA wood glue to the cracks. It will follow the water into the joint, keep adding it till it stops flowing into the joint, wiggling it a bit will accelerate the process. Repeat with the other loose joints then pull the joints together with bungees or old tights or whatever is available, wipe off surplus glue and leave to dry for a few days. I have repaired several chairs this way.