Yeah all of the cables look okay, I can't see the connector in that photo.... What dude said, make sure it rotates when you power the key on. If it does, disconnect the battery and let it sit for ten then reconnect it. If someone ever fiddled with the valve or one of the cables, it'll throw that code and I *believe* it will stay lit until you reset the ECU's memory.
Currently my daily beater- 30k+ and counting the miles
07 ZX6R, lime green. Bafflectomy performed on stock muffler, disabled exhaust valve, Jumper mod, K&N air filter, PC3 with generic Euro-spec map, NGK Iridium plugs, Motul 300V & K&N oil filter, Healtech X-TRE, Drive Systems Superlite X2 steel sprockets -1/+3, Green EK chain, EBC Sintered HH pads front and rear, Dunlop Sportmax Q2's.