PO341 cam position sensor error

#1
Car was running perfect parked it for a few days came back it wouldn't start? plugged in code reader got a crankshaft sensor error code.I replaced it with new .Same won't start now I got a Cam position sensor error replaced that still have Cam position error?? I'm stumped??any body had this problem before ?? thanks 2004 Corolla
 
Top