Erro no login

Suporte à dúvidas gerais relacionadas ao phpBB.
Again
Membro Recente
Membro Recente
Mensagens: 243
Registrado em: 01 Out 2010, 16:44
MSG 100+Avatar

Erro no login

  • Favoritar esta postagem
  • Mensagem por Again »

    Código: Selecionar todos

    Parse error: syntax error, unexpected $end in /home/cselite/public_html/forum5/cache/tpl_avaloncyan_login_body.html.php on line 46
    Quando tento logar =/
    Avatar do usuário
    _Vinny_
    Administrador
    Administrador
    Mensagens: 6023
    Registrado em: 03 Set 2009, 21:59
    Contato:
    LendaMSG 1500+Avatar

    Re: Erro no login

  • Favoritar esta postagem
  • Mensagem por _Vinny_ »

    Poste aqui a template login_body.html desse estilo.
    Tradução Português Brasileiro: https://www.phpbb.com/customise/db/translation/brazilian_portuguese/

    Precisa de serviços phpBB? Me mande um mensagem privada ou visite https://vinny.quest
    Again
    Membro Recente
    Membro Recente
    Mensagens: 243
    Registrado em: 01 Out 2010, 16:44
    MSG 100+Avatar

    Re: Erro no login

  • Favoritar esta postagem
  • Mensagem por Again »

    /cache/tpl_avaloncyan_login_body.html.php

    Código: Selecionar todos

    <?php if (!defined('IN_PHPBB')) exit; $this->_tpl_include('overall_header.html'); ?>
    
    
    <form action="<?php echo (isset($this->_rootref['S_LOGIN_ACTION'])) ? $this->_rootref['S_LOGIN_ACTION'] : ''; ?>" method="post">
    
    <?php echo (isset($this->_tpldata['DEFINE']['.']['CA_BLOCK_START'])) ? $this->_tpldata['DEFINE']['.']['CA_BLOCK_START'] : ''; ?>
    
    <?php echo (isset($this->_tpldata['DEFINE']['.']['CA_CAP2_START'])) ? $this->_tpldata['DEFINE']['.']['CA_CAP2_START'] : ''; if (! $this->_rootref['S_ADMIN_AUTH']) {  echo ((isset($this->_rootref['L_LOGIN'])) ? $this->_rootref['L_LOGIN'] : ((isset($user->lang['LOGIN'])) ? $user->lang['LOGIN'] : '{ LOGIN }')); } else { echo (isset($this->_rootref['LOGIN_EXPLAIN'])) ? $this->_rootref['LOGIN_EXPLAIN'] : ''; } echo (isset($this->_tpldata['DEFINE']['.']['CA_CAP2_END'])) ? $this->_tpldata['DEFINE']['.']['CA_CAP2_END'] : ''; ?>
    
    <table class="tablebg" width="100%" cellspacing="<?php echo (isset($this->_tpldata['DEFINE']['.']['CA_SPACING'])) ? $this->_tpldata['DEFINE']['.']['CA_SPACING'] : ''; ?>">
    <?php if ($this->_rootref['LOGIN_EXPLAIN'] && ! $this->_rootref['S_ADMIN_AUTH']) {  ?>
    
    	<tr>
    		<td class="row3" colspan="2" align="center"><span class="gensmall"><?php echo (isset($this->_rootref['LOGIN_EXPLAIN'])) ? $this->_rootref['LOGIN_EXPLAIN'] : ''; ?></span></td>
    	</tr>
    <?php } ?>
    
    <tr><?php if (! $this->_rootref['S_ADMIN_AUTH'] && $this->_rootref['S_REGISTER_ENABLED']) {  ?>
    
    	<td class="row1" width="50%">
    		<p class="genmed"><?php echo ((isset($this->_rootref['L_LOGIN_INFO'])) ? $this->_rootref['L_LOGIN_INFO'] : ((isset($user->lang['LOGIN_INFO'])) ? $user->lang['LOGIN_INFO'] : '{ LOGIN_INFO }')); ?></p>
    
    		<p class="genmed" align="center">
    			<a href="<?php echo (isset($this->_rootref['U_TERMS_USE'])) ? $this->_rootref['U_TERMS_USE'] : ''; ?>"><?php echo ((isset($this->_rootref['L_TERMS_USE'])) ? $this->_rootref['L_TERMS_USE'] : ((isset($user->lang['TERMS_USE'])) ? $user->lang['TERMS_USE'] : '{ TERMS_USE }')); ?></a> | <a href="<?php echo (isset($this->_rootref['U_PRIVACY'])) ? $this->_rootref['U_PRIVACY'] : ''; ?>"><?php echo ((isset($this->_rootref['L_PRIVACY'])) ? $this->_rootref['L_PRIVACY'] : ((isset($user->lang['PRIVACY'])) ? $user->lang['PRIVACY'] : '{ PRIVACY }')); ?></a>
    		</p>
    	</td>
    	<?php } ?>
    
    	<td <?php if (! $this->_rootref['S_ADMIN_AUTH']) {  ?>class="row2"<?php } else { ?>class="row1"<?php } ?>>
    	
    		<table align="center" cellspacing="1" cellpadding="4" style="width: 100%;">
    		<?php if ($this->_rootref['LOGIN_ERROR']) {  ?>
    
    			<tr>
    				<td class="gensmall" colspan="2" align="center"><span class="error"><?php echo (isset($this->_rootref['LOGIN_ERROR'])) ? $this->_rootref['LOGIN_ERROR'] : ''; ?></span></td>
    			</tr>
    		<?php } ?>
    
    
    		<tr>
    			<td valign="top" <?php if ($this->_rootref['S_ADMIN_AUTH']) {  ?>style="width: 50%; text-align: <?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''; ?>;"<?php } ?>><b class="gensmall"><?php echo ((isset($this->_rootref['L_USERNAME'])) ? $this->_rootref['L_USERNAME'] : ((isset($user->lang['USERNAME'])) ? $user->lang['USERNAME'] : '{ USERNAME }')); ?>:</b></td>
    			<td><input class="post" type="text" name="<?php echo (isset($this->_rootref['USERNAME_CREDENTIAL'])) ? $this->_rootref['USERNAME_CREDENTIAL'] : ''; ?>" size="25" value="<?php echo (isset($this->_rootref['USERNAME'])) ? $this->_rootref['USERNAME'] : ''; ?>" tabindex="1" />
    				<?php if (! $this->_rootref['S_ADMIN_AUTH'] && $this->_rootref['S_REGISTER_ENABLED']) {  ?>
    
    					<br /><a class="gensmall" href="<?php echo (isset($this->_rootref['U_REGISTER'])) ? $this->_rootref['U_REGISTER'] : ''; ?>"><?php echo ((isset($this->_rootref['L_REGISTER'])) ? $this->_rootref['L_REGISTER'] : ((isset($user->lang['REGISTER'])) ? $user->lang['REGISTER'] : '{ REGISTER }')); ?></a>
    				<!--


    LOGIN_BODY

    Código: Selecionar todos

    <!-- INCLUDE overall_header.html -->
    
    <form action="{S_LOGIN_ACTION}" method="post">
    
    {$CA_BLOCK_START}
    {$CA_CAP2_START}<!-- IF not S_ADMIN_AUTH -->{L_LOGIN}<!-- ELSE -->{LOGIN_EXPLAIN}<!-- ENDIF -->{$CA_CAP2_END}
    <table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
    <!-- IF LOGIN_EXPLAIN && not S_ADMIN_AUTH -->
    	<tr>
    		<td class="row3" colspan="2" align="center"><span class="gensmall">{LOGIN_EXPLAIN}</span></td>
    	</tr>
    <!-- ENDIF -->
    <tr><!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->
    	<td class="row1" width="50%">
    		<p class="genmed">{L_LOGIN_INFO}</p>
    
    		<p class="genmed" align="center">
    			<a href="{U_TERMS_USE}">{L_TERMS_USE}</a> | <a href="{U_PRIVACY}">{L_PRIVACY}</a>
    		</p>
    	</td>
    	<!-- ENDIF -->
    	<td <!-- IF not S_ADMIN_AUTH -->class="row2"<!-- ELSE -->class="row1"<!-- ENDIF -->>
    	
    		<table align="center" cellspacing="1" cellpadding="4" style="width: 100%;">
    		<!-- IF LOGIN_ERROR -->
    			<tr>
    				<td class="gensmall" colspan="2" align="center"><span class="error">{LOGIN_ERROR}</span></td>
    			</tr>
    		<!-- ENDIF -->
    
    		<tr>
    			<td valign="top" <!-- IF S_ADMIN_AUTH -->style="width: 50%; text-align: {S_CONTENT_FLOW_END};"<!-- ENDIF -->><b class="gensmall">{L_USERNAME}:</b></td>
    			<td><input class="post" type="text" name="{USERNAME_CREDENTIAL}" size="25" value="{USERNAME}" tabindex="1" />
    				<!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->
    					<br /><a class="gensmall" href="{U_REGISTER}">{L_REGISTER}</a>
    				<!-- ENDIF -->
    			</td>
    		</tr>
    		<tr>
    			<td valign="top" <!-- IF S_ADMIN_AUTH -->style="width: 50%; text-align: {S_CONTENT_FLOW_END};"<!-- ENDIF -->><b class="gensmall">{L_PASSWORD}:</b></td>
    			<td>
    				<input class="post" type="password" name="{PASSWORD_CREDENTIAL}" size="25" tabindex="2" />
    				<!-- IF U_SEND_PASSWORD --><br /><a class="gensmall" href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a><!-- ENDIF -->
    				<!-- IF U_RESEND_ACTIVATION and not S_ADMIN_AUTH --><br /><a class="gensmall" href="{U_RESEND_ACTIVATION}">{L_RESEND_ACTIVATION}</a><!-- ENDIF -->
    			</td>
    		</tr>
    		<!-- IF S_DISPLAY_FULL_LOGIN -->
    			<!-- IF S_AUTOLOGIN_ENABLED -->
    			<tr>
    				<td>&nbsp;</td>
    				<td><input type="checkbox" class="radio" name="autologin" tabindex="3" /> <span class="gensmall">{L_LOG_ME_IN}</span></td>
    			</tr>
    			<!-- ENDIF -->
    			<tr>
    				<td>&nbsp;</td>
    				<td><input type="checkbox" class="radio" name="viewonline" tabindex="4" /> <span class="gensmall">{L_HIDE_ME}</span></td>
    			</tr>
    		<!-- ENDIF -->
    		</table>
    	</td>
    </tr>
    
    <!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
    </table>
    {$CA_BLOCK_END}
    <br />
    {$CA_BLOCK_START}
    {$CA_CAP2_START}{L_LOGIN_CONFIRMATION}{$CA_CAP2_END}
    <table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
    <!-- INCLUDE {CAPTCHA_TEMPLATE} -->
    <!-- ENDIF -->
    <tr>
    	<td class="cat" <!-- IF not S_ADMIN_AUTH or S_CONFIRM_CODE -->colspan="2"<!-- ENDIF --> align="center">{S_HIDDEN_FIELDS}<input type="submit" name="login" class="btnmain" value="{L_LOGIN}" tabindex="5" /></td>
    </tr>
    </table>
    {$CA_BLOCK_END}
    {S_FORM_TOKEN}
    {S_LOGIN_REDIRECT}
    </form>
    
    <br clear="all" />
    
    <!-- INCLUDE breadcrumbs.html -->
    
    <br clear="all" />
    
    <div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div>
    
    <!-- INCLUDE overall_footer.html -->
    
    OBS: Eu deletei este arquivo que esta dentro do primeiro code! e o login deu certo, tem problema se eu ficar sem este arquivo ?
    Trancado