PORTE is analog on this chip, so you will need to turn that off.
http://www.picbasic.co.uk/forum/showthread.php?t=561