accelerometer adxl345 via I2C

Hi everybody,
I’m trying to connect arduino with adxl345 via I2C using the code attached. This code is from the link below and, reading comments, seems to work quite well in lots of cases… but not in mine… I always obtain three zeros…
May somebody help me?

sketch_mar31a.ino (2.26 KB)