I suspect you have a faulty earth somewhere and the brake lights are earthing the sidelights. Take the bulbs out of their holders and clean all the terminals, then make sure that the bulb holders are all earthed properly. The electrical current should flow through the bulbs and then to earth, but in your car the power is running through the sidelights then through the brake lights, which should not happen.
Any more help-just ask!