Developing cities: unproductive and unliveable?

Cities in the developing world offer the potential to drive economic growth and offer decent living conditions. But some countries are experiencing urbanisation without industrialisation. What is going wrong, and what can be done about it?