Why does my fluorescent lighting only work when it's not hot outside?
When florescent tubes get close to the end of their service life, they can behave unpredictably.  Double check for any darkening of the glass near the pins.  If you have a spare bulb that you know is good, try swapping the lamp and see if there is any improved performance.