I say check step 1.. After you applied it, the line should look like this:
PHP Code:
//Logician Advanced Templates Hack
if (substr_count($template,'[[/(')>=1) {$template = advanced_templates($template);}
//Logician Advanced Templates Hack
if ($gethtmlcomments and $addtemplatename) {
Not like this:
PHP Code:
//Logician Advanced Templates Hack
if (substr_count($template,'[[/(')>=1) {$template = advanced_templates($template);}
//Logician Advanced Templates Hack if ($gethtmlcomments and $addtemplatename) {
More info
here