The Shanghai Cooperation Organisation summit ended with member states divided on many issues despite trying to present a united front.