Welcome to Just Commodores, a site specifically designed for all people who share the same passion as yourself.
If the sensor connector is green from corrosion then you need to clean the corrosion from it. Corrosoin on the wiring connectors could also be causing the error codes you said your getting. Be sure to check the connectors to the cam angle and crank angle sensors, and also have a good close look at the DFI module connector pins.its connected but the little pin the plug sits on is green