This happened to me today. No running light and no brake light when brake lever was pressed. Changed bulb, still nothing. What it turned out to be was the wire became slightly unplugged. When you take your seat off, in front of your tool holder, there are where the wires meet. They should be covered by a clear(ish) plastic. I looked in there and VOILA, all I had to do was push the ends together, tighter.
I hope this is all you need, too.