BBC NEWS | World | Europe | 'Wing flaps failed' on Spain jet
I think it's more likely flaps/slats weren't set for takeoff.
EDIT to add: Quality of reporting these days is rubbish. All the BBCs sources for this article appear to be what they've read in Spanish newspapers, instead of picking up the telephone and asking the crash investigators directly.
ECAM Actions.