Orange wire is taking power to dome light. White wire is ground coming back- it is spliced somewhere slightly above the fuse box with the white wire running to door jamb & to courtesy light. From courtesy light the white wire (sometimes changes to wht/blk) runs to light switch to ground it when you twist the pull knob.
The orange wire (I marked in attachment) coming out of the fuse box should meet up with the white wire and head back down under the carpet.(also marked on attachment)
So if your courtesy light is working- it gives you an idea where the problem might be. Like
@fast 99 mentioned- very common for it to be broken under the carpet.