How come car still overheating and also getting check engine code light?

Bought car used from dealer on sept. 7. Honda Civic 03 EX.

I took it back multiple times and they replaced the thermostat with a plug as well.

Head gasket and just got the car back last week on wednesday. Also I replaced the radiator cap myself.

The car continues to overheat after driving for some distance and I stop on a red light or leave car on drive on idle or parked.

Once I start to move the car again the needle starts to go down showing car cooling down. How come this still happens after getting

most of the repairs that would cause overheating?

Please help cause I will need to drive to barstow this weekend from Los Angeles.

They checked water pumps and no problem either.

Also I'm getting an engine error:

P1259: Code reads:

1. VTEC System Failure
2. VTEC System B1 Failuer

After that happens, Car won't go passed 3 and if I put it on D3 (Drive 3) up hills or normal car feels like its pushing, Like it speeds up then slows down and its just going back and forth until I go back down to 3 and not using D3

Added (1). Oh and after leaving car to rest up or just turn off for a bit, car will work on D3 again and speeds up without any issues. Only if I push it up hill or a bit too fast then it does it again.

Has anyone looked at the radiator and the condition of the coolant inside it? Possible that the radiator needs to be flushed

I confess I did a web search of "VTEC System Failure": This is a malfunction of the VTEC oil pressure switch, this can be from low oil, Because the component in question has a high rate of failure, play it safe, just replace the VTEC solenoid valve, the VTEC oil pressure switch, that or you will buy cylinder head.

Read more: http://engine-codes.com/qa/14049/what-does-vtec-system-failure-mean#ixzz3oKBapEN9

As for the overheating, you may have a clogged hose. The pump could be working fine but a clog in the hose blocks the water flowing through the engine. When they replaced the engine head did they flush out the engine completely and refill? Did they check for air bubbles and was the engine block head tightened correctly? Are you noticing and leaking fluids while parked/ Go underneath and look for any signs of leaked coolant or drips to rule out a broken hose. A clogged hose is much like any clogged hose, pressure will build up on one side of the clog and no pressure will be on the other side of the clog. Did they replace the filter correctly when they replaced the water pump and put fluid back in? Take it back one more time, but this time ask a whole pile of questions about a possible clogged hose or buildup of gunk in the system that could clog the flow of fluids, and do include the answer I put here about the VTEC System failure as well. Good Luck and do mention that under the "California Lemon Law", you are entitled for the vehicle to be replaced. In fact, here is a good page to direct you to more information about the "California Lemon Law" that protects you the consumer from being responsible for being sold a bad car: http://californialemonlawgroup.com/faqs/

Id get a second look at the car from someone else. They said the water pump was ok? Are you leaking by any chance? Not sure if the codes are connected to what's going on but id get a second look… Might even be a bad radiator? Maybe.