Link to home
Start Free TrialLog in
Avatar of meowsmart
meowsmartFlag for Malaysia

asked on

phpBB3 Error After Upgrading

Dear all,

I've just upgraded my board from 3.0.1 to 3.0.0 using the phpBB-3.0.1_to_3.0.2 upgrade package.
However, I've got a parse error at the bottom of the board page.

I've googled for the solution but can't find an exact answer to this issue. Attached are the codings for my overall_footer.html.php file and also the overall_footer.html from my forum template folder.

Appreciate your expertise to address this issue as I am unable to access my Access Control Panel (ACP) now. I even tried from the cache but still didn't work.
</div>
 
    <div id="page-footer">
 
       <div class="navbar">
          <div class="inner"><span class="corners-top"><span></span></span>
 
          <ul class="linklist">
             <li class="icon-home"><a href="<?php echo (isset($this->_rootref['U_INDEX'])) ? $this->_rootref['U_INDEX'] : ''; ?>" accesskey="h"><?php echo ((isset($this->_rootref['L_INDEX'])) ? $this->_rootref['L_INDEX'] : ((isset($user->lang['INDEX'])) ? $user->lang['INDEX'] : '{ INDEX }')); ?></a></li>
                <?php if (! $this->_rootref['S_IS_BOT']) {  if ($this->_rootref['S_WATCH_FORUM_LINK']) {  ?><li <?php if ($this->_rootref['S_WATCHING_FORUM']) {  ?>class="icon-unsubscribe"<?php } else { ?>class="icon-subscribe"<?php } ?>><a href="<?php echo (isset($this->_rootref['S_WATCH_FORUM_LINK'])) ? $this->_rootref['S_WATCH_FORUM_LINK'] : ''; ?>" title="<?php echo (isset($this->_rootref['S_WATCH_FORUM_TITLE'])) ? $this->_rootref['S_WATCH_FORUM_TITLE'] : ''; ?>"><?php echo (isset($this->_rootref['S_WATCH_FORUM_TITLE'])) ? $this->_rootref['S_WATCH_FORUM_TITLE'] : ''; ?></a></li><?php } if ($this->_rootref['U_WATCH_TOPIC']) {  ?><li <?php if ($this->_rootref['S_WATCHING_TOPIC']) {  ?>class="icon-unsubscribe"<?php } else { ?>class="icon-subscribe"<?php } ?>><a href="<?php echo (isset($this->_rootref['U_WATCH_TOPIC'])) ? $this->_rootref['U_WATCH_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_WATCH_TOPIC'])) ? $this->_rootref['L_WATCH_TOPIC'] : ((isset($user->lang['WATCH_TOPIC'])) ? $user->lang['WATCH_TOPIC'] : '{ WATCH_TOPIC }')); ?>"><?php echo ((isset($this->_rootref['L_WATCH_TOPIC'])) ? $this->_rootref['L_WATCH_TOPIC'] : ((isset($user->lang['WATCH_TOPIC'])) ? $user->lang['WATCH_TOPIC'] : '{ WATCH_TOPIC }')); ?></a></li><?php } if ($this->_rootref['U_BOOKMARK_TOPIC']) {  ?><li class="icon-bookmark"><a href="<?php echo (isset($this->_rootref['U_BOOKMARK_TOPIC'])) ? $this->_rootref['U_BOOKMARK_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_BOOKMARK_TOPIC'])) ? $this->_rootref['L_BOOKMARK_TOPIC'] : ((isset($user->lang['BOOKMARK_TOPIC'])) ? $user->lang['BOOKMARK_TOPIC'] : '{ BOOKMARK_TOPIC }')); ?>"><?php echo ((isset($this->_rootref['L_BOOKMARK_TOPIC'])) ? $this->_rootref['L_BOOKMARK_TOPIC'] : ((isset($user->lang['BOOKMARK_TOPIC'])) ? $user->lang['BOOKMARK_TOPIC'] : '{ BOOKMARK_TOPIC }')); ?></a></li><?php } if ($this->_rootref['U_BUMP_TOPIC']) {  ?><li class="icon-bump"><a href="<?php echo (isset($this->_rootref['U_BUMP_TOPIC'])) ? $this->_rootref['U_BUMP_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_BUMP_TOPIC'])) ? $this->_rootref['L_BUMP_TOPIC'] : ((isset($user->lang['BUMP_TOPIC'])) ? $user->lang['BUMP_TOPIC'] : '{ BUMP_TOPIC }')); ?>"><?php echo ((isset($this->_rootref['L_BUMP_TOPIC'])) ? $this->_rootref['L_BUMP_TOPIC'] : ((isset($user->lang['BUMP_TOPIC'])) ? $user->lang['BUMP_TOPIC'] : '{ BUMP_TOPIC }')); ?></a></li><?php } } ?>
             <li class="rightside"><a href="<?php echo (isset($this->_rootref['U_TEAM'])) ? $this->_rootref['U_TEAM'] : ''; ?>"><?php echo ((isset($this->_rootref['L_THE_TEAM'])) ? $this->_rootref['L_THE_TEAM'] : ((isset($user->lang['THE_TEAM'])) ? $user->lang['THE_TEAM'] : '{ THE_TEAM }')); ?></a> &bull; <?php if (! $this->_rootref['S_IS_BOT']) {  ?><a href="<?php echo (isset($this->_rootref['U_DELETE_COOKIES'])) ? $this->_rootref['U_DELETE_COOKIES'] : ''; ?>"><?php echo ((isset($this->_rootref['L_DELETE_COOKIES'])) ? $this->_rootref['L_DELETE_COOKIES'] : ((isset($user->lang['DELETE_COOKIES'])) ? $user->lang['DELETE_COOKIES'] : '{ DELETE_COOKIES }')); ?></a> &bull; <?php } echo (isset($this->_rootref['S_TIMEZONE'])) ? $this->_rootref['S_TIMEZONE'] : ''; ?></li>
          </ul>
 
          <span class="corners-bottom"><span></span></span></div>
       </div>
       
    <!--
       We request you retain the full copyright notice below including the link to www.phpbb.com.
       This not only gives respect to the large amount of time given freely by the developers
       but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
       the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
       "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
       forums may be affected.
 
       The phpBB Group : 2006
    //-->
    <!--
    Do not remove links below!
    //-->
    <div class="web"><a href="http://freelancewebmarket.com/websites-for-sale.shtml" title="Websites for Sale" class="websites_for_sale"><strong>Websites for sale</strong></a> | <a href="http://freelancewebmarket.com/" title="Freelance Projects" class="freelance_projects"><strong>Freelance Projects</strong></a> | <a href="http://www.sarkis-webdesign.com/" title="Web Design" class="web_design"><strong>Web Design</strong></a></div>
    <?php if (! $this->_rootref['S_USER_LOGGED_IN']) {  ?><br /><!-- Site Meter -->
    <script type="text/javascript" src="http://s49.sitemeter.com/js/counter.js?site=s49ecoldboys">
    </script>
    <noscript>
    <a href="http://s49.sitemeter.com/stats.asp?site=s49ecoldboys" target="_top">
    <img src="http://s49.sitemeter.com/meter.asp?site=s49ecoldboys" alt="Site Meter" border="0"/></a>
    </noscript>
    <!-- Copyright (c)2006 Site Meter -->
 
 
       <div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group
          <?php if ($this->_rootref['TRANSLATION_INFO']) {  ?><br /><?php echo (isset($this->_rootref['TRANSLATION_INFO'])) ? $this->_rootref['TRANSLATION_INFO'] : ''; } if ($this->_rootref['DEBUG_OUTPUT']) {  ?><br /><?php echo (isset($this->_rootref['DEBUG_OUTPUT'])) ? $this->_rootref['DEBUG_OUTPUT'] : ''; } if ($this->_rootref['U_ACP']) {  ?><br /><strong><a href="<?php echo (isset($this->_rootref['U_ACP'])) ? $this->_rootref['U_ACP'] : ''; ?>"><?php echo ((isset($this->_rootref['L_ACP'])) ? $this->_rootref['L_ACP'] : ((isset($user->lang['ACP'])) ? $user->lang['ACP'] : '{ ACP }')); ?></a></strong><?php } ?>
       </div>
    </div>
 
    </div>
 
    <div>
       <a id="bottom" name="bottom" accesskey="z"></a>
       <?php if (! $this->_rootref['S_IS_BOT']) {  echo (isset($this->_rootref['RUN_CRON_TASK'])) ? $this->_rootref['RUN_CRON_TASK'] : ''; } ?>
    </div>

Open in new window

Avatar of Beverley Portlock
Beverley Portlock
Flag of United Kingdom of Great Britain and Northern Ireland image

What was the parse error and what line was it on?
Avatar of meowsmart

ASKER

Ho bportlock,

The error is as follow

Parse error: syntax error, unexpected $end in /home/ec/public_html/forum/cache/tpl_green3_3_0_0_overall_footer.html.php on line 101

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Beverley Portlock
Beverley Portlock
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi there,

I've added  to it and the parse error gone. However, I still can't find the ACP link at the bottom.
Please find attached screenshot of my forum.

Thanks!.
ACP-Missing.jpg
In PHPBB3, isn't the ACP link in the top right corner and not at the bottom?
Dear bportlock,

I've managed to solve this issue by myself. I found it due to incompatibility between the Green template that I used with the current version of phpBB 3.0.2.

Solution: I've uploaded the Green3-302 (latest version) and renamed the folder to green3_3_0_0 so that it will match to the path in the templates.I just tried it but seems okay now and I managed to go to ACP and set the board to online. Tested with my testing account and it works too.

But I believe I should give credit to you because your replies has led me to the finding that the template won't work with the latest version of the board and thus qualify you to earn this point.

Thank you again! Cheers!