Yeah, check the wiring to the knock sensor (from the fuel rail leading down to the sensor) for breaks, check the connector hasn't come loose and if those aren't the issue it wouldn't be the first faulty knock sensor I've seen. You will probably get a warning lamp everytime you drive it and the car will not drive 100% until it is sorted.
Jay