2008 sportsman 500 efi

I have fought with the wiring on this bike right from the start. most of the wires in the handlebars have been repaired/lengthened. NOW, it runs for ten minutes or so then shuts down, just like the kill switch was hit. the error codes are 55 and 58. i have taken the front end plastic off now and found one broken wire there and repaired it, no difference. the fan runs when hooked to 12 v. when started, it will idle for ~15 mins then quits and will not start, rolls over fine but wont start, checked plug, has fire.after it sits for awhile it will start again. the fan doesnt run during this test, im thinking it is shutting off due to high temp but there is no HOT display on the dash?? Sooo,my question is its either broken wires to the temp probe or a bad temp probe? were is the temp probe located? thanks to anyone who can help out.:angryfire: