First things first, get the battery issue resolved.
Secondly, check if the door switches are functioning properly. You can manually press the door switch on each door to see if the lights turn off. If they do, you might just need to clean or replace those switches.
If the switches are okay, a bit of troubleshooting with the wiring or connectors could help since there could be a short that’s keeping the lights powered.