Replace your template files with core files from 1.3.8a one at a time... Scrap that

Look at the changelog included with the distribution...you probably have several files associated with your template(overrides) that require merging to the latest versions