I had this problem with my C-Max when I first had it. Turned out there is a little lever on the underside of the sliding door that falls out of it's mounting. I found it underneath the trim when I removed it to see if I could fix it another way. Replaced it and all is now OK.
To remove the sliding door and surround, first remove the screw inside the lifting armrest that goes into the rear of the cupholder. It's underneath the armrest catch so not easily seen. This should now allow you to lift this away and them remove the ashtray slider and handbrake switch surround. If you are lucky you will find the little catch that dropped off in the bottom of the centre console void uncovered. Reposition this on the underside of the slider and all should be OK.
Hope this works for you as it did for me. Unless your catch is actually broken of course.
I Had a look yestarday and I cant find the clip. So I shall have to buy a new cover or clip?.I also found that the cig lighter didnt work and someone must of split something in it as its very corroded.So its a new clip and a lighter socket for me.Thanks again for the help and that screw was a little wotsit to see,without the help of you guys,I would never of found it.!