I added a wall outlet in my bathroom where previously there had been a plate covering up some unused wires. I connected the bare wire to ground on the outlet, white wires to one side, and black wires to the other side. Now the new outlet works, but the other switches and outlets that are connected to the same switch in the breaker box don't work. Did I just connect the wires wrong? What causes this and how can I fix it?
Okay, so originally in the box the black, white, and ground wires were all connected to each other. I had separated them and connected the separated wires to the receptacle. That was the problem. I now connected them to each other, as originally was the case, and added new wire to go from the connections to the receptacle. Now everything works.