Look in the online resources sticky to get the instructions to check the Check Engine Light (CEL) codes.
Looks like the VTEC solenoid isn't even connected. Look for a connector laying around somewhere and plug it in. Checking your codes for the CEL would give us the most understanding of the problem.