Parse error: syntax error

Everything to do with Joomla! 2.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jun 17, 2015 10:45 am

Parse error: syntax error

Post by summerbaby1 » Wed Jun 17, 2015 10:55 am

Hi ,
I am new to the forum , so sorry for asking for help 1st post but im really a novice and I have tried everything I found. Any help would be most welcome...
Joomla 2.5 2.5.28
Parse error: syntax error, unexpected end of file in /home/thegrosv/public_html/templates/siteground-j16-32/templates.php on line 12

<?if( $sg == 'banner' ):?>
<?php if (JRequest::getVar('view') == 'frontpage'):?>
<!-- SIDE BEGIN --><!-- SIDE END -->
<?php endif?>
<?php echo $app->getCfg('sitename'); ?>, Powered by <a href="" class="sgfooter" target="_blank">Joomla!</a>
$menus = $app->getMenu();
if ($menu->getActive() == $menu->getDefault() || $sgfrontpage):?>
<!-- FOOTER BEGIN --><a href="" target="_blank">SMF hosting by SiteGround</a><!-- FOOTER END -->
?php <?endif;?>
I think im ok posting this piece of script ,
thank you in advance

Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4026
Joined: Mon Nov 25, 2013 4:35 pm
Location: Montreal, Canada

Re: Parse error: syntax error

Post by itoctopus » Wed Jun 17, 2015 3:24 pm

It's probably better to zip this and attach this to your post since there are some tags that were definitely removed. In any case, you are missing an endif at the end. - Joomla consulting at its finest - Follow us on Twitter


Return to “Templates for Joomla! 2.5”