Its a van belonging to a young lady who lives close to me that is having problems so asked for help on social media, she has been messed around and generally taken for a ride by a long precession of mechanics who have maybe seen her as an easy touch and have charged money and not sorted the problems, so I have decided to try and help her ( not for any financial payment, but because I dont like to see people taken advantage of )
The van is a diesel ( thought from a golf ) fitted by some previous spanner wielding monkey no doubt

The problem.
After driving it back from the local garage who conducted the MOT test , it was turned of then the next time it was going to be used it would not start, or even turn over. A mechanic was called out, charged her £100 and told her it was the battery... It wasnt.
The next mechanic came and told her it was the starter motor, fitted a new one , charged her and left... it still did the same , no cranking atall.
So today I went to have a look and see if I could help, in my mind I thought it could be the ignition switch... im 99% sure that it isnt.
This is what I found.
When the ignition is turned on, this solenoid continuously buzzes and clicks..

There was 3 wires left dangling inside the engine bay.. 2 come from the same part of wiring loom as the brown wire for the glow plugs.

a white and blue one ,, live .( this was bare so I made safe with a red spade terminal )
A black one, this seemed to be an earth, again bare so I made safe. When I connected this the negative side of the battery the solenoid stopped buzzing...

A third wire red and yellow , coming from the same part of a loom for the temperature sender

didnt appear to be either a live or negative !
The starter motor was brand new, but some things here didnt make sense either. The main live cable directly to the battery positive was permantly live as it should be, the spade terminal that goes to ignition switch was also live whilst connected .... disconnected the wire to it was not live , untill you cranked then it became live ( as i thought it should ? ) but why is the spade terminal live ?
The brown wire going to the glow plugs was also strange, this was negative, surely this should have been positive??
My first thought was a bad earth,I checked the nose of the gearbox and battery earth, all good . so I connected a good quality jump lead from the bell housing/starter motor straight to the negative side of the battery just to discount this. No difference found.
So I am after any help that can be offered, can you confirm what the 3 mystery wires are , where they should go and what polarity they should be...
Am I correct in my thinking that the starter motor should have a permanent live ( thick cable ) and the spade should be only live whilst cranking ??
Also should the wire to the glow plugs not be a live ??
and what is this all about ? it seems neither live or negative

The electrics are a mess, ideally it needs a auto electrician who knows these vans. Although I trained as a auto electrician and qualified as a mechanic it was a long time ago, and I am no doubt rusty . I know my van but its a petrol and the electrics are as VW intended !
This young lady has been taken for a ride by guys that in the least deserve some bad karma... so I am hoping that with your help we can help her keep the van and put a smile back on her face.
Thanks for any help offered

Martin.