line 1248 had <? which opens up php on certain versions of the php complier but not all. fixed this line and now im good on my end and for all other ends of the php world.