Sorry for my ignorance, but if photons do not have mass, how do them impacting the solar panel have any effect on the ship's velocity?
What photons do have is momentum, and so due to conservation of momentum, hitting a photon will slow you down.
Relative velocity is a hell of a drug.