I haved pm'd you about this,but Ill go ahead and post up some of what I told you in the pm,just in case someone else run's across the same problem.
"Vtec system malfunction/p1259"
What I would do is first test for continuity between the vtec wire at the ecu plug,and at the solenoid plugs.
B1,b15 and b23 all go to the solenoid and b9 is for the oil pressure switch.
I believe b1 is the positive and b23 is negative,which would be the left and right side wires at the plug.B1 is blu/wht and b23 is blk/wht,while b15 is grn/ylw and b9 is blu/blk.If there is continuity between these wires at the sensor and at the ecu plug,than the solenoid assembly is probably clogged or bad.I would take it off and check the screen for any debris that may have clogged it,and make sure the engine oil isnt too low,before replacing.