Ok, the first shot shows where the water has been coming out. The discolored area on the plywood is where it has gotten wet, and that area looks like has spread directly out from the corner of the pan, which is where water that got into the pan flange would have to come out.
The second shot...