This has happened because the door has a lock block on only one side of these cheap doors and the muppet that fitted it has put it the wrong way round. 1st buy some small cavity toggle fixings, then following instructions on packet as though you are fitting to a hollow wall. Only temporary repair but more substantial than the previous answer, which I wouldn't recommend.
Burt, November 2009