SMF Ads Support Forum

Themes/Language => Theme Support => Topic started by: lightning_strike on May 07, 2007, 11:59:43 AM

Title: Error in file
Post by: lightning_strike on May 07, 2007, 11:59:43 AM
I am using the Ad Managment 2.3 with  Turklord  SMF 1.1.2 and the Evanescence Theme Design by Turklord.

It seems to be all working ok except the Display.template.php I followed the instruction three times and I get this error;
Template Parse Error!
There was a problem loading the /Themes/evanescence/Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: parse error, unexpected $ in .../Themes/evanescence/Display.template.php on line 760

751:       </td>
752:    </tr>
753: </table>';
754:    }
755:    if ($context['show_spellchecking'])
756:       echo '
757: <form action="', $scripturl, '?action=spellcheck" method="post" accept-charset="', $context['character_set'], '" name="spell_form" id="spell_form" target="spellWindow"><input type="hidden" name="spellstring" value="" /></form>';
758: }
759:

760: ?>

761:
762:

it seems that the end line ?> seems to be ther error

any ideas??

Title: Re: Error in file
Post by: bigguy on May 22, 2007, 04:57:48 PM
Is there any code after this:

?>
Title: Re: Error in file
Post by: r3gister on June 19, 2007, 04:15:04 AM
I'm getting exactly the same error. There is no code after the closing ?>
Title: Re: Error in file
Post by: bigguy on June 20, 2007, 05:59:36 PM
try changing this:

<form action="', $scripturl, '?action=spellcheck" method="post" accept-charset="', $context['character_set'], '" name="spell_form" id="spell_form" target="spellWindow"><input type="hidden" name="spellstring" value="" /></form>';
758: }


to this:

<form action="', $scripturl, '?action=spellcheck" method="post" accept-charset="', $context['character_set'], '" name="spell_form" id="spell_form" target="spellWindow"><input type="hidden" name="spellstring" value="" /></form>
758: }';