You are using the wrong type of tester. You need a tester like a VOM meter to test for voltage between hots, neutrals & grounds and also be capable of being used as a continuity tester.
With out that type of tester you will probably not find out what the problem is.
With out that type of tester you will probably not find out what the problem is.