fout in index_body.html.php

Hulp nodig bij je installatie of kom je ergens niet uit? Probeer phpBB3! Problemen lossen we samen met je op.
phpBB 3.0 is End of support per 1 januari 2017. Dit forum is hier enkel ter archief. Het wordt aangeraden te upgraden naar phpBB 3.2
Forumregels
phpBB 3.0 is End of support per 1 januari 2017. Dit forum is hier enkel ter archief. Het wordt aangeraden te upgraden naar phpBB 3.2
Gesloten
peterjan
Berichten: 78
Lid geworden op: 21 jan 2011, 12:36

fout in index_body.html.php

Bericht door peterjan » 10 jan 2014, 08:41

  • Adres van je forum: http://weervisieforum.nl/forum
    Event. modificaties op je forum: mchat, gallery
    Wanneer ontstond het probleem? vanmorgen bij openen forum
    phpBB versie: 3.01 ?


    Heb je onlangs iets veranderd aan je forum? nee, backup gemaakt
    Wat is het probleem?
forum niet bereikbaar


Ik wilde even op ons forum maar kreeg de volgende melding:

Parse error: syntax error, unexpected ':', expecting ',' or ')' in /home/weervisi/public_html/forum/cache/tpl_subsilver2Clean_index_body.html.php on line 66

Kan iemand eens kijken wat er niet goed is?

Code: Selecteer alles

<?php if (!defined('IN_PHPBB')) exit; $this->_tpl_include('overall_header.html'); ?>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="220" valign="top">
	<?php if (! $this->_rootref['S_USER_LOGGED_IN']) {  ?>

	<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td class="cat"><h4>AUTENTIFICARE</h4></td>
    </tr>
  <tr>
    <td class="row1" align="center"> 
	
	<form method="post" action="<?php echo (isset($this->_rootref['S_LOGIN_ACTION'])) ? $this->_rootref['S_LOGIN_ACTION'] : ''; ?>">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td align="right"> USER:</td>
    <td width="100"><input class="post" type="text" name="username" size="15" /></td>
    <td><input type="checkbox" class="radio" name="autologin" tabindex="3" /></td>
  </tr>
  <tr>
    <td align="right"> PASS:</td>
    <td><input class="post" type="password" name="password" size="15" /></td>
    <td><input type="submit" class="btnmain" name="login" value="Go" />	</td>
  </tr>
</table>

<?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''; ?>	  
<?php echo (isset($this->_rootref['S_LOGIN_REDIRECT'])) ? $this->_rootref['S_LOGIN_REDIRECT'] : ''; ?>    
	  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	</form>	</td>
    </tr>
</table>
<?php echo (isset($this->_rootref['S_LOGIN_REDIRECT'])) ? $this->_rootref['S_LOGIN_REDIRECT'] : ''; ?>

 <div style="margin-bottom: 3px;"></div>
 <?php } ?>


		<table width="100%" border="0" class="tablebg"  cellspacing="0" cellpadding="0">
  <tr>
    <td class="cat"><h4><?php echo ((isset($this->_rootref['L_BIRTHDAYS'])) ? $this->_rootref['L_BIRTHDAYS'] : ((isset($user->lang['BIRTHDAYS'])) ? $user->lang['BIRTHDAYS'] : '{ BIRTHDAYS }')); ?></h4></td>
  </tr>
  <tr>
<?php $this->_tpl_include('mchat_stats.html'); ?>


    <td class="row1" align="center"><p class="genmed"><?php if ($this->_rootref['BIRTHDAY_LIST']) {  echo ((isset($this->_rootref['L_CONGRATULATIONS'])) ? $this->_rootref['L_CONGRATULATIONS'] : ((isset($user->lang['CONGRATULATIONS'])) ? $user->lang['CONGRATULATIONS'] : '{ CONGRATULATIONS }')); ?>: <b><?php echo (isset($this->_rootref['BIRTHDAY_LIST'])) ? $this->_rootref['BIRTHDAY_LIST'] : ''; ?></b><?php } else { echo ((isset($this->_rootref['L_NO_BIRTHDAYS'])) ? $this->_rootref['L_NO_BIRTHDAYS'] : ((isset($user->lang['NO_BIRTHDAYS'])) ? $user->lang['NO_BIRTHDAYS'] : '{ NO_BIRTHDAYS }')); } ?></p></td>
  </tr>
<img src="http://www.knmi.nl/waarschuwingen_en_verwachtingen/images/waarschuwing_land_24.png" width="240" height="285" border="0" align="top" title="waarschuwing slecht weer" alt="waarschuwingen voor slecht weer">
<div id="TB_window" style="display: block; visibility: visible; width: 310px; left: 265px; top: 568px; zoom: 1; opacity: 1; "><a href="" id="TB_ImageOff" title="Close"><img src="http://www.knmi.nl/exp/pluim/Data/PLUIM_06260_NWT.png" width="240" height="285" border="0"  align="middle" alt=" "></a><div id="TB_caption">15-daagse pluim verwachting KNMI <div id="TB_secondLine"></div></div><div id="TB_closeWindow"><a href="#" id="TB_closeWindowButton" title="Close"></a></div></div>
		</table>
		<div style="margin-bottom: 3px;"></div>
			<table width="100%" border="0" class="tablebg"  cellspacing="0" cellpadding="0">
  <tr>
    <td class="cat"><h4><?php echo ((isset($this->_rootref['L_STATISTICS'])) ? $this->_rootref['L_STATISTICS'] : ((isset($user->lang['STATISTICS'])) ? $user->lang['STATISTICS'] : '{ STATISTICS }')); ?></h4></td>
  </tr>
  <tr>
    <td class="row1"><p class="genmed"><?php echo (isset($this->_rootref['TOTAL_POSTS'])) ? $this->_rootref['TOTAL_POSTS'] : ''; ?></p></td>
  </tr>
  <tr>
    <td class="row2t"><p class="genmed"><?php echo (isset($this->_rootref['TOTAL_TOPICS'])) ? $this->_rootref['TOTAL_TOPICS'] : ''; if ($this->_rootref['TOTAL_IMAGES']) {  ?> | <?php echo (isset($this->_rootref['TOTAL_IMAGES'])) ? $this->_rootref['TOTAL_IMAGES'] : ''; } ?></p></td>
  </tr>
  <tr>
    <td class="row1"><p class="genmed"><?php echo (isset($this->_rootref['TOTAL_USERS'] :
Graag jullie reactie.

Alvast dank.

grt Peterjan

Gebruikersavatar
John P
Berichten: 163
Lid geworden op: 29 sep 2012, 13:48
Contacteer:

Re: fout in index_body.html.php

Bericht door John P » 10 jan 2014, 09:31

Je moet in de file index_body.html in je template map kijken.
Daar is een IF, ELSE of ENDIF teveel c.q. te weinig.
Afbeelding
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

peterjan
Berichten: 78
Lid geworden op: 21 jan 2011, 12:36

Re: fout in index_body.html.php

Bericht door peterjan » 11 jan 2014, 01:34

probleem is opgelost.

Via een oudere email melding van een prive bericht kon ik in administrator menu. heb de beackup van gisteravond teruggeplaatst.

Werkt weer als behoren.

grt Peterjan

Gesloten