If this is the location you're talking about...
The path is pretty linear so I don't know how you manage to get lost, but here, because a pictures says more than words:
[warning spoilers!]


Get both pearls to open the door. The 2nd way is quite long but nothing really dangerous is on the way. Just mind the flickering energy barriers.
Hope that helps.