SMF Support > SMF 2.0.x Support
template parse error
keitro12:
template error when im making a new topic
here is the error
Template Parse Error! There was a problem loading the /Themes/default/ Post.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 : syntax error, unexpected T_STRING in .../ Themes/default/Post.template.php on line 219 210: echo ' 211: <dt> 212: <span', isset($ context ['post_error']['no_subject' ]) ? ' class="error"' : '', ' id="caption_subject">' , $txt ['subject' ], ':</span> 213: </dt> 214: <dd> 215: <input type="text" name="subject"' , $context ['subject' ] == '' ? '' : ' value="' . $context ['subject' ] . '"', ' tabindex="' , $ context ['tabindex' ]++, '" size="80" maxlength="80" class="input_text" /> 216: </dd>'; 217: '; 218: // Tagging system Mod 219: if(!isset($context[' num_replies'])) 220: { 221: echo ' 222: <dt> 223: <b>', $txt[' smftags_topic '], '</b>
keitro12:
and also when im making a new poll
here is the error
Template Parse Error! There was a problem loading the /Themes/default/ Post.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 : syntax error, unexpected T_STRING in .../ Themes/default/Post.template.php on line 219 210: echo ' 211: <dt> 212: <span', isset($ context ['post_error']['no_subject' ]) ? ' class="error"' : '', ' id="caption_subject">' , $txt ['subject' ], ':</span> 213: </dt> 214: <dd> 215: <input type="text" name="subject"' , $context ['subject' ] == '' ? '' : ' value="' . $context ['subject' ] . '"', ' tabindex="' , $ context ['tabindex' ]++, '" size="80" maxlength="80" class="input_text" /> 216: </dd>'; 217: '; 218: // Tagging system Mod 219: if(!isset($context[' num_replies'])) 220: { 221: echo ' 222: <dt> 223: <b>', $txt[' smftags_topic '], '</b>
Old Fossil:
Keitro12
Which theme do you use?
Is one of the mods installed http://custom.simplemachines.org/mods/index.php?mod=579
Any errors in the error log?
keitro12:
i use the default theme curve
yes i installed tagging system and i installed it succesfully,
Old Fossil:
--- Quote from: keitro12 on May 06, 2012, 07:54:35 PM ---i use the default theme curve
yes i installed tagging system and i installed it succesfully,
--- End quote ---
Any other mods installed?
Navigation
[0] Message Index
[#] Next page
Go to full version