I am trying to install a floodlight with a day/night photosensor that will illuminate a flag as well as a front porch. I wanted to get one that just plugs into an outlet, since I have numerous outlets on said porch. But I cannot find one, so I purchased a double floodlight fixture made by Brinks that has a photosensor on it. It's meant to be hardwired, and has 2 wires pre cut and stripped on the ends, 1 white and 1 black. I also purchased a 2 prong male plug that has terminals to connect bare wires to on the inside. The inside terminals are even labeled "black" and "white". So I attached white to white, black to black and....nothing. The light doesn't turn on. New bulbs, new fixture, and what I thought was simple wiring. Any idea what could be causing this? I don't know a whole lot about wiring beyond a shop class I took about 8 years ago in high school.
Also, I know it's not the power outlet as other stuff works on it. I know they are the right floodlight bulbs, because I got the ones recommended on the box for the fixture. Also there is no AC/DC adapter that I know of. I'm not sure if that would even be the case. Aren't wall sockets AC as well as light fixtures? Why would a conversion even be necessary?