It was shown on Irish television, It follows a boy who in the "real world" is in a coma but has to travel through a fantasy world in his mind to wake up. I think he was Australian, the dream world is ruled by children, I think maybe the school bully is the main villain and everyone at the boys school has counterparts in the dream world?
If he doesn't escape the dream by his birthday (13th birthday?) he will be trapped there forever or something..... I don't remember much else.