Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: carnaith on June 23, 2009, 06:23:06 PM

Title: Template parse error
Post by: carnaith on June 23, 2009, 06:23:06 PM
its play thicko time again

changed to 2 rc1-1 and get this when i try to open a topic

erm me stuck

Parse error: syntax error, unexpected T_ELSE in .../Themes/default/Display.template.php on line 1093

1084:       </div>';
1085:    }
1086:
1087:
1088:    echo '
1089:    </form>';
1090:    
1091: }
1092:
1093: else {
1094:
1095:    // Show the topic information - icon, subject, etc.
1096:    echo '
1097: <div id="forumposts" class="tborder">
Title: Re: Template parse error
Post by: Antechinus on June 23, 2009, 06:24:14 PM
Attach the whole file please. Easier to sort it if we can see the error in context.
Title: Re: Template parse error
Post by: Herman's Mixen on June 24, 2009, 12:17:42 PM
try this one  ;)
Title: Re: Template parse error
Post by: carnaith on June 24, 2009, 12:46:08 PM
thats sort of worked i can get into the forums but when i ckick on a topic there is nothing there no topic no writing.
Title: Re: Template parse error
Post by: carnaith on June 24, 2009, 01:47:48 PM
right!
added a new board
added a new topic
all this is ok
but when i go to read the topic there is nothing

so! how do i resolve this?
any help?

Title: Re: Template parse error
Post by: Norv on June 24, 2009, 03:00:36 PM
Please check your Admin > Error log, and post here any errors you may find.
Title: Re: Template parse error
Post by: Herman's Mixen on June 24, 2009, 03:20:05 PM
from wich skin/template is this display.template coz its not the original wich came from smf 2 rc1-1
some code you have in your display.template dont belong here...

maybe i can check the orginal to fix the problems  ;)
Title: Re: Template parse error
Post by: carnaith on June 25, 2009, 04:00:20 AM
Thank you all
it is sorted now
btw wow you are all clever
john :D