Onset mechanism of solar eruptions