News:

Join the Facebook Fan Page.

Main Menu

Template parse error

Started by carnaith, June 23, 2009, 06:23:06 PM

Previous topic - Next topic

carnaith

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">

Antechinus

Attach the whole file please. Easier to sort it if we can see the error in context.

Herman's Mixen

Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

carnaith

#3
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.

carnaith

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?


Norv

Please check your Admin > Error log, and post here any errors you may find.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Herman's Mixen

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  ;)
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

carnaith

Thank you all
it is sorted now
btw wow you are all clever
john :D

Advertisement: