PORTA.7 share a couple of things

OSC1
CLKI
T1OSI

My first bet would be that you haven't set the OSC to internal... and if you did

Code:
OSCCON=0
'
'
'
'
'
'

OSCCON = %00000001
this make the whole thing running @ 32KHz