Pagina 1 van 1
Cache fout na update
Geplaatst: 14 sep 2007, 17:19
door nickdhnick
- Adres van je forum: http://realityx.dotbas.net
Event. modificaties op je forum: best veel om op te noemen
Wanneer ontstond het probleem? na het updaten naar RC5
phpBB versie: 3.0.RC5
Heb je onlangs iets verandert aan je forum? heb t geupdate
Wat is het probleem?
Ik heb ff mijn forum geüpdate bij een testforum, maar k krijg de volgende fout
Parse error: syntax error, unexpected T_VARIABLE in /var/www/web18/web/cache/tpl_prosilver_overall_header.html.php on line 237
Dit is het stukje bij line 237 in cache/tpl_prosilver_overall_header.html.php
Code: Selecteer alles
<ul class="linklist">
<?php if (! $this->_rootref['S_IS_BOT'] && $this->_rootref['IF'] $this->_rootref['S_USER_LOGGED_IN']) { ?>
<li>
<a href="<?php echo (isset($this->_rootref['U_PROFILE'])) ? $this->_rootref['U_PROFILE'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_PROFILE'])) ? $this->_rootref['L_PROFILE'] : ((isset($user->lang['PROFILE'])) ? $user->lang['PROFILE'] : '{ PROFILE }')); ?>" accesskey="u" class="icon-ucp"><?php echo ((isset($this->_rootref['L_PROFILE'])) ? $this->_rootref['L_PROFILE'] : ((isset($user->lang['PROFILE'])) ? $user->lang['PROFILE'] : '{ PROFILE }')); ?></a>
<?php if ($this->_rootref['S_DISPLAY_PM']) { ?> (<a href="<?php echo (isset($this->_rootref['U_PRIVATEMSGS'])) ? $this->_rootref['U_PRIVATEMSGS'] : ''; ?>"><?php echo (isset($this->_rootref['PRIVATE_MESSAGE_INFO'])) ? $this->_rootref['PRIVATE_MESSAGE_INFO'] : ''; ?></a>)<?php } ?> •
<a href="<?php echo (isset($this->_rootref['U_SEARCH_SELF'])) ? $this->_rootref['U_SEARCH_SELF'] : ''; ?>"><?php echo ((isset($this->_rootref['L_SEARCH_SELF'])) ? $this->_rootref['L_SEARCH_SELF'] : ((isset($user->lang['SEARCH_SELF'])) ? $user->lang['SEARCH_SELF'] : '{ SEARCH_SELF }')); ?></a>
<?php if ($this->_rootref['U_RESTORE_PERMISSIONS']) { ?> •
<a href="<?php echo (isset($this->_rootref['U_RESTORE_PERMISSIONS'])) ? $this->_rootref['U_RESTORE_PERMISSIONS'] : ''; ?>"><?php echo ((isset($this->_rootref['L_RESTORE_PERMISSIONS'])) ? $this->_rootref['L_RESTORE_PERMISSIONS'] : ((isset($user->lang['RESTORE_PERMISSIONS'])) ? $user->lang['RESTORE_PERMISSIONS'] : '{ RESTORE_PERMISSIONS }')); ?></a>
<?php } ?>
</li>
<?php } ?>
De 2e regel is regel 237
Re: Cache fout na update
Geplaatst: 14 sep 2007, 18:36
door Salomon
Re: Cache fout na update
Geplaatst: 14 sep 2007, 22:25
door nickdhnick
Ja dat werkt. k kan het forum nu weer bezoeken
Maar als k een bericht wil plaatsen krijg ik dezelfde error weer
Parse error: syntax error, unexpected T_VARIABLE in /var/www/web18/web/cache/tpl_prosilver_overall_header.html.php on line 237
Hier is het stukje weer:
Code: Selecteer alles
<ul class="linklist">
<?php if (! $this->_rootref['S_IS_BOT'] && $this->_rootref['IF'] && $this->_rootref['S_USER_LOGGED_IN']) { ?>
<li>
<a href="<?php echo (isset($this->_rootref['U_PROFILE'])) ? $this->_rootref['U_PROFILE'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_PROFILE'])) ? $this->_rootref['L_PROFILE'] : ((isset($user->lang['PROFILE'])) ? $user->lang['PROFILE'] : '{ PROFILE }')); ?>" accesskey="u" class="icon-ucp"><?php echo ((isset($this->_rootref['L_PROFILE'])) ? $this->_rootref['L_PROFILE'] : ((isset($user->lang['PROFILE'])) ? $user->lang['PROFILE'] : '{ PROFILE }')); ?></a>
<?php if ($this->_rootref['S_DISPLAY_PM']) { ?> (<a href="<?php echo (isset($this->_rootref['U_PRIVATEMSGS'])) ? $this->_rootref['U_PRIVATEMSGS'] : ''; ?>"><?php echo (isset($this->_rootref['PRIVATE_MESSAGE_INFO'])) ? $this->_rootref['PRIVATE_MESSAGE_INFO'] : ''; ?></a>)<?php } ?> •
<a href="<?php echo (isset($this->_rootref['U_SEARCH_SELF'])) ? $this->_rootref['U_SEARCH_SELF'] : ''; ?>"><?php echo ((isset($this->_rootref['L_SEARCH_SELF'])) ? $this->_rootref['L_SEARCH_SELF'] : ((isset($user->lang['SEARCH_SELF'])) ? $user->lang['SEARCH_SELF'] : '{ SEARCH_SELF }')); ?></a>
<?php if ($this->_rootref['U_RESTORE_PERMISSIONS']) { ?> •
<a href="<?php echo (isset($this->_rootref['U_RESTORE_PERMISSIONS'])) ? $this->_rootref['U_RESTORE_PERMISSIONS'] : ''; ?>"><?php echo ((isset($this->_rootref['L_RESTORE_PERMISSIONS'])) ? $this->_rootref['L_RESTORE_PERMISSIONS'] : ((isset($user->lang['RESTORE_PERMISSIONS'])) ? $user->lang['RESTORE_PERMISSIONS'] : '{ RESTORE_PERMISSIONS }')); ?></a>
<?php } ?>
</li>
<?php } ?>
Wijziging: Ik heb gewoon dat hele stukje verwijderd en alles doet het gewoon weer goed

Re: Cache fout na update
Geplaatst: 15 sep 2007, 06:50
door Salomon
De cache legen had waarschijnlijk ook geholpen hoor

Dus doe die oude wijziging maar en dan de cache legen
