Hoping for some help here. My parents recently moved into a new place (older house though) and there is one quirk about it I can't seem to figure out. In one room, the ceiling light is controlled by a switch and works fine until something is plugged into an outlet on one of the walls. Once something is plugged in the outlet, the ceiling light stays on permanently and the light switch now controls the power going to the outlet. This happens for two outlets, both on the same wall. I looked in the ceiling light and there are two 14/2 wires entering the box. One white wire is marked with black tape and crossed with a black wire. I had a quick inspection of the outlets and nothing obvious (didn't see anything loose, etc). Any thoughts on what is going on here.
Sounds like poster is not coming back... Short answer is
Look in the receptacles
Usually, receptacles that control lamps are split. This is done by breaking off a tab of metal that resides between the two brass screws on the hot side of the receptacle.
It happens all the time where a novice decides "I'm going to replace all my receptacles for some reason" (color change, weak old receptacles that don't hold, GFCI, you name it.) Because they are a novice, they have no idea how the "tabs" work, and don't even realize "tabs" are a thing. They end up defeating the switched light, have no idea why that happened, don't even know where to start, so they shrug, decide "fix it later" or live with it, and switch the lamps on and off at the lamp.
Or, they do something weirder like break off the neutral tab by mistake.
Regardless, something like that has gone wrong. Look for abnormal wiring in each of the receptacle boxes. Shoot us a photo, and edit your question to add them.