i am realatively new to all this. i am trying to set up a website, but after reinstalling the phpbb3 at least 20 times for different things, i have realised there must be a way of fixing the white screen of death without having to reinstall. the problem i am having at the moment, is when i try to view a topic/post on my site, legendmaneye.com/forum , it shows the white screen of death, and after requesting error logs to be enabled, it also now shows the following error :

 Parse error: syntax error, unexpected $end in /hsphere/local/home/c317173/legendmaneye.com/forum/cache/tpl_BIA-JRSweets_viewtopic_body.html.php on line 339 

when i navigate to the relevant file and line, the only data shown is as follows :

<form method="post" action="<?php echo (isset($this->_rootref['S_MOD_ACTION'])) ? $this->_rootref['S_MOD_ACTION'] : ''; ?>">

i cannot see what is within this code that could possibly be the cause of the error.

help please???

    while it says line 339 that's just the last line and it has to wait til then to see if you put in the last }, so somewhere above there should be a }

      dagon;10975167 wrote:

      while it says line 339 that's just the last line and it has to wait til then to see if you put in the last }, so somewhere above there should be a }

      this is the relevant section of the file, where would i put the }???

      <br />
      <div class="forabg">
      	<div class="inner"><span class="corners-top"><span></span></span>
      		<ul class="topiclist">
      			<li class="header">
      				<dl class="icon">
      					<dt><?php echo ((isset($this->_rootref['L_ADVERTISEMENT'])) ? $this->_rootref['L_ADVERTISEMENT'] : ((isset($user->lang['ADVERTISEMENT'])) ? $user->lang['ADVERTISEMENT'] : '{ ADVERTISEMENT }')); ?></dt>
      				</dl>
      			</li>
      		</ul>
      		<div style="padding: 5px 5px 2px 5px; font-size: 1.1em; background-color: #ECF1F3; margin: 0px auto; text-align: center;">
      			<?php echo (isset($this->_rootref['ADS_4'])) ? $this->_rootref['ADS_4'] : ''; ?>
      
      	</div>
      <span class="corners-bottom"><span></span></span></div>
      </div>
      <br />
      <?php } $this->_tpl_include('jumpbox.html'); if ($this->_rootref['S_TOPIC_MOD']) {  ?>
      
      [COLOR="Red"]<form method="post" action="<?php echo (isset($this->_rootref['S_MOD_ACTION'])) ? $this->_rootref['S_MOD_ACTION'] : ''; ?>">[/COLOR]
      <fieldset class="quickmod">
      	<label for="quick-mod-select"><?php echo ((isset($this->_rootref['L_QUICK_MOD'])) ? $this->_rootref['L_QUICK_MOD'] : ((isset($user->lang['QUICK_MOD'])) ? $user->lang['QUICK_MOD'] : '{ QUICK_MOD }')); ?>:</label> <?php echo (isset($this->_rootref['S_TOPIC_MOD'])) ? $this->_rootref['S_TOPIC_MOD'] : ''; ?> <input type="submit" value="<?php echo ((isset($this->_rootref['L_GO'])) ? $this->_rootref['L_GO'] : ((isset($user->lang['GO'])) ? $user->lang['GO'] : '{ GO }')); ?>" class="button2" />
      	<?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''; ?>
      
      </fieldset>
      </form>
      <?php } if ($this->_rootref['S_DISPLAY_ONLINE_LIST']) {  ?>
      
      <h3><?php if ($this->_rootref['U_VIEWONLINE']) {  ?><a href="<?php echo (isset($this->_rootref['U_VIEWONLINE'])) ? $this->_rootref['U_VIEWONLINE'] : ''; ?>"><?php echo ((isset($this->_rootref['L_WHO_IS_ONLINE'])) ? $this->_rootref['L_WHO_IS_ONLINE'] : ((isset($user->lang['WHO_IS_ONLINE'])) ? $user->lang['WHO_IS_ONLINE'] : '{ WHO_IS_ONLINE }')); ?></a><?php } else { echo ((isset($this->_rootref['L_WHO_IS_ONLINE'])) ? $this->_rootref['L_WHO_IS_ONLINE'] : ((isset($user->lang['WHO_IS_ONLINE'])) ? $user->lang['WHO_IS_ONLINE'] : '{ WHO_IS_ONLINE }')); } ?></h3>
      <p><?php echo (isset($this->_rootref['LOGGED_IN_USER_LIST'])) ? $this->_rootref['LOGGED_IN_USER_LIST'] : ''; ?></p>
      <?php } $this->_tpl_include('overall_footer.html'); ?>

        its impossible to answer based on a chunk of code from the middle of a file

          dagon;10975177 wrote:

          its impossible to answer based on a chunk of code from the middle of a file

          That is not from the middle of the file.....that bottom line of code is the very last line of the file.

            Write a Reply...