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- 32k and counting miles
07 ZX6R, lime green. Bafflectomy performed on the stock muffler, disabled exhaust valve, Jumper mod, K&N air filter, PC3 currently with zero-map and Accel Pump Enabled, NGK Iridium plugs, Kawi Full Synth oil, Healtech X-TRE, Drive Systems Superlite X2 steel sprockets -1/+3, Green EK chain, EBC Sintered HH pads front and rear, Michelin Power Pure tires.