Learn how to a build a cloud-first strategyRegister Now


phpBB3 Error After Upgrading

Posted on 2008-11-09
Medium Priority
Last Modified: 2012-05-05
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 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>
          <span class="corners-bottom"><span></span></span></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">
    <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>
    <!-- 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 } ?>
       <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'] : ''; } ?>

Open in new window

Question by:meowsmart
  • 3
  • 3
LVL 34

Expert Comment

by:Beverley Portlock
ID: 22916270
What was the parse error and what line was it on?

Author Comment

ID: 22916280
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

LVL 34

Accepted Solution

Beverley Portlock earned 1500 total points
ID: 22916296
Just seen the error message - it has gone into the "Tags" section below the question.

Just after the copyright message on line 38 in the above text, try adding

    <?php } ?>

to line 39 as the "IF" for the sitemeter stuff does not seem to have a closing brace.

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.


Author Comment

ID: 22916652
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.

LVL 34

Expert Comment

by:Beverley Portlock
ID: 22916835
In PHPBB3, isn't the ACP link in the top right corner and not at the bottom?

Author Comment

ID: 22916877
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!

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Suggested Courses
Course of the Month20 days, 16 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question