To reproduce the wall glitch just simply walk up to a wall, as close as possible, in a house or structure and just lean forward/look down and you should be able to see through and out.
To reproduce the door glitch, just go in a building and run and jump at a door that can't be opened and you should (in most cases) get inside the wall, and be able to shoot out of it.