This question is an exact duplicate of:
I recently replaced my light fixture in the basement.
The second time I flipped it on, it made a buzzing noise and went out.
When I do a wire test, the light outlet wires are getting no power. At the light box switch the outlet is getting power but the switch isn't.
The black wire from one set goes to the switch and the other wire hooked to it is another black bridging wire to the plug in the outlet.
and hooks he the side white and all which ones are hooked to the the back side of the plugin.
No ground on the switch but there's one on the plugin outlet. No ground on light fixture as well.
How do I fix this?