I clicked on the first link which Sheena-Ann Brown posted. That brought up an Auchterlonie Tree on Ancestry which says:
"James Auchterlonie b Scotland, 14th Jan 1777 passed away 1884 in Scotland."
Another fine example of why you should
never trust an online tree. I bet you that someone at some point has mistyped '1884' for '1848' and all the other so-called 'sources' have blindly copied the error without thinking.
The Fife Family History Society has a database of all recorded burials in Fife. It might be worth contacting them to ask what actual recorded and verified facts are available.
Moderator, why not move this thread to the Fife board?