DS 1302 RTC problem

You do have pullups somewhere on the I2C bus of course?

That library uses some pseudo-SPI interface.

Please provide a wiring diagram or a (sharp) photo of your setup. Also post a link to the breakout board you're using (many of them have problems with the crystal).

What type of Arduino are you using?