OK.
have other folks succeeded at school?
to clarify... when folks travel or commute, a lot of folks are in the habit of just shutting the clamshell (putting the MBPro to sleep) and not shutting down.
it is 'possible' that the MBPro or the display doesn't like either of the cables you tried.
Yosemite, OK (I guess)
tell us the exact steps you take when you hook it up at school - start with taking it out of your book bag - every detail.
Also, at school, who is "in charge" of the projector? Ask for help from that person.
ÇÇÇ