TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 871
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 554
  • Total: 554

Template Parse Error! - HELP!

Started by uniektekniek, December 09, 2009, 09:25:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

uniektekniek

heya.. i tried to install tinyportal today and manged to kill half my forum.. i've managed to work through a few issue but am now stuck on a template parse error.. im new to php so if someone could have a look at the error code and let me know whats going wrong it would be much appreciated..


Parse error: syntax error, unexpected $end, expecting T_VARIABLE or '$' in .../Themes/default/TPBlocks.template.php on line 207

198: if($context['TPortal']['menuvar1']=='' || $context['TPortal']['menuvar1']=='0')
199: echo str_repeat("  ", ($cn['sub']+1));
200: elseif($context['TPortal']['menuvar1']=='1')
201: echo str_repeat("  ", ($cn['sub']+1));
202: elseif($context['TPortal']['menuvar1']=='2')
203: echo str_repeat("  ", ($cn['sub']+1));
204:
205: if((!isset($cn['icon']) || (isset($cn['icon']) && $cn['icon']=='')) && $cn['type']!='head' && $cn['type']!='spac')
206: {

207: if($context['TPortal']['menuvar1']=='' || $

208:
209:


ed_m2


Ken.

Hi uniektekniek, welcome to TinyPortal.

First, in order to better be able to help we need as much information as possible about your site, so please give the detail called for in the posting guidelines:
Please read the Posting Guidelines

Then...
If you've experienced issues with the TP install it may be simpler to go through the manual install steps so as to make sure that all files and folders got installed and that all file edits were done.
It's easy to do and doesn't really take that long, plus you'll then be sure that everything is correct with the install.
How do I manually install TinyPortal
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

uniektekniek

cheers guys... i did read through many other threads and did the manual install... seemed to miss this one though and just reeuploaded it and it worked..

Ken.

Glad you got it sorted.  :up:

Marking this one as solved then.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

This website is proudly hosted on Crocweb Cloud Website Hosting.