Hi there.
I'm a newbie myself, and still have questions, but if your problem with index.template was the same I had, please look in the thread "Error installing on SMF 1.1.4", there's my solution, namely to ensure a "Return" in the 2nd paste. Read it, right now it's just below this thread
Hope this helps