Texture wrong in the sides of a plane with solidify modifier
As @Chaudhry Yousuf suggests, you need to unwrap your mesh and apply your texture using its UV map.
You can find more info about UV map on the BlenderGuru's Youtube channel :
here, or here