Well, went looking for the thread I found several months ago, but it seems to have disappeared. So lets start with the parts diagram (you can find all the parts diagrams here)
http://www.courtesyparts.com/pathfinder ... _4712.html
2001-2002 is about half way down the page. I have not had to pull my timing cover, but I assume things will become pretty apparent as you pull things apart. However, check out parts 13035h, ha, hb. Those are o-rings for oil ports. Could be part of the problem.
I did have another thought after I read your repair history. Normally, I would not consider it, but in this case I think it may be possible the heads have been pulled at some time on your engine. I think it is possible the timing chain up at the cam sprocket could be off one tooth. Every other repair that was done seems to have been screwed up in some way, so I think you would have to look closely at that if you pull the front of the engine apart. You said you had looked at the timing, but I wonder if you were really looking closely for that kind of problem. I know I probably would not be looking for one tooth off unless I knew the heads had been off.
If you want to get a little more comfortable that your wiring is ok, clear your codes, shut the engine off, and disconnect one sensor (i.e. - passenger bank cam position sensor). Restart the engine. You should get a circuit code thrown for that sensor only. Cam position sensors are p0340 and p0341, I think. Can't remember the circuit codes for the cam solenoids right off. Then shut down, reconnect the sensor. Restart and clear codes. The code should not come back of course.
If that works correctly for each sensor, you can be confident the engine is seeing that sensor electrically and looking for the sensor input. That should help determine that the ECM is seeing the sensor on the circuit throwing the p1140.
If they all throw circuit codes like they should, I would consider wiring to be ok.
I was also going to recommend calling the dealer with your VIN. There are several recalls that apply to you. I'm not sure if you know of them - but if you are going to keep the vehicle for awhile might as well get them done. They are discussed in the stickies at the beginning of the forum - air bags and strut tower rust.
You seem to have done a fair amount of wrench twisting in your time - where did you get your auto experience ?