TinyPortal
Development => Support => Installation => Topic started by: uniektekniek on December 09, 2009, 09:25:27 AM
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:
where is the rest of line 207 ?
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 (http://www.tinyportal.net/index.php?topic=581)
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 (http://docs.tinyportal.co.uk/index.php?topic=29)
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..
Glad you got it sorted. :up:
Marking this one as solved then.