phpBB3 Error After Upgrading

Posted on 2008-11-09
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

       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 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="" title="Websites for Sale" class="websites_for_sale"><strong>Websites for sale</strong></a> | <a href="" title="Freelance Projects" class="freelance_projects"><strong>Freelance Projects</strong></a> | <a href="" 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="">



    <a href="" target="_top">

    <img src="" alt="Site Meter" border="0"/></a>


    <!-- Copyright (c)2006 Site Meter -->

       <div class="copyright">Powered by <a href="">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
    LVL 34

    Expert Comment

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

    Author Comment

    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

    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.

    Author Comment

    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
    In PHPBB3, isn't the ACP link in the top right corner and not at the bottom?

    Author Comment

    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!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL ( several years ago, it seemed like now was a good time to updat…
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
    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…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now