Cache fout na update

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
nickdhnick
Berichten: 632
Lid geworden op: 10 apr 2006, 16:38
Locatie: Apeldoorn
Contacteer:

Cache fout na update

Bericht door nickdhnick » 14 sep 2007, 17:19

  • 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 } ?> &bull; 		
						<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']) {  ?> &bull;
						<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

Salomon
Berichten: 3878
Lid geworden op: 14 feb 2006, 16:15

Re: Cache fout na update

Bericht door Salomon » 14 sep 2007, 18:36

Code: Selecteer alles

['IF'] $this->
Werkt dit wel?

Code: Selecteer alles

['IF'] && $this->

nickdhnick
Berichten: 632
Lid geworden op: 10 apr 2006, 16:38
Locatie: Apeldoorn
Contacteer:

Re: Cache fout na update

Bericht door nickdhnick » 14 sep 2007, 22:25

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 } ?> &bull; 		
						<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']) {  ?> &bull;
						<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 :)

Salomon
Berichten: 3878
Lid geworden op: 14 feb 2006, 16:15

Re: Cache fout na update

Bericht door Salomon » 15 sep 2007, 06:50

De cache legen had waarschijnlijk ook geholpen hoor :D Dus doe die oude wijziging maar en dan de cache legen ;)

Gesloten