Error log, está enchendo e repetindo os erros

  • Autor Autor econsorte
  • Data de início Data de início
Tradução em andamento: em alguns minutos este tópico estará em português. Por enquanto, o conteúdo está no original em espanhol. Ver original
econsorte

econsorte

Mi
Programador
Verificación en dos pasos activada
Consulta, se me llenan el error log que este aviso, como lo puedo soluciona?

Cada segundo me da este error…

Inserir CODE, HTML ou PHP:
[15-Aug-2014 07:23:25 UTC] PHP Notice:  Use of undefined constant WIRELESS - assumed 'WIRELESS' in /home/…/public_html/Sources/Subs.php on line 2871
[15-Aug-2014 07:23:25 UTC] PHP Notice:  Use of undefined constant WIRELESS_PROTOCOL - assumed 'WIRELESS_PROTOCOL' in /home/androidt/public_html/Sources/Subs.php on line 2882
[15-Aug-2014 07:23:25 UTC] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/…/public_html/Sources/PrettyUrls-Filters.php on line 301
[15-Aug-2014 07:23:25 UTC] PHP Notice:  Undefined index: REQUEST_URL in /home/…/public_html/Sources/Subs.php on line 3023
[15-Aug-2014 07:23:25 UTC] PHP Notice:  Undefined index: REQUEST_URL in /home/…/public_html/Sources/Subs.php on line 3023
[15-Aug-2014 07:23:25 UTC] PHP Notice:  Undefined index: REQUEST_URL in /home/…/public_html/Sources/Subs.php on line 3024

GRACIAS betas :encouragement::encouragement:
 
Foi útil? Participe da conversa

Com sua conta grátis você pode responder, mandar mensagem privada ao autor e comprar com Saldo retido: o pagamento é liberado quando você recebe o combinado.

Leva 30 segundos · você volta a este tópico ao terminar
Podrias colocar las lineas de codigo que se hacen mencion en dicho log?
 
tienes que corregir el error en el archivo correspondiente y ya
 
- - - Actualizado - - -

Es un foro lo que estas usando? esos archivos son del smf.. si mal no recuerdo...
Link.
 
Última edição:
Podrias colocar las lineas de codigo que se hacen mencion en dicho log?

Si mira!

[02-Sep-2014 17:14:41 UTC] PHP Notice: Use of undefined constant WIRELESS - assumed 'WIRELESS' in /home/androidt/public_html/Sources/Subs.php on line 2897

[02-Sep-2014 17:14:41 UTC] PHP Notice: Use of undefined constant WIRELESS_PROTOCOL - assumed 'WIRELESS_PROTOCOL' in /home/androidt/public_html/Sources/Subs.php on line 2908 = $setLocation .= $char . WIRELESS_PROTOCOL;
Inserir CODE, HTML ou PHP:
if (WIRELESS)
	{
		// Add the scripturl on if needed.
		if ($add)
			$setLocation = $scripturl . '?' . $setLocation;

		$char = strpos($setLocation, '?') === false ? '?' : ';';

		if (strpos($setLocation, '#') !== false)
			$setLocation = strtr($setLocation, array('#' => $char . WIRELESS_PROTOCOL . '#'));
		else
			$setLocation .= $char . WIRELESS_PROTOCOL;
	}
	elseif ($add)
		$setLocation = $scripturl . ($setLocation != '' ? '?' . $setLocation : '');

[02-Sep-2014 17:14:41 UTC] PHP Notice: Undefined index: REQUEST_URL in /home/androidt/public_html/Sources/Subs.php on line 3049
[02-Sep-2014 17:14:41 UTC] PHP Notice: Undefined index: REQUEST_URL in /home/androidt/public_html/Sources/Subs.php on line 3049
[02-Sep-2014 17:14:41 UTC] PHP Notice: Undefined index: REQUEST_URL in /home/androidt/public_html/Sources/Subs.php on line 3050

Inserir CODE, HTML ou PHP:
if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=viewsmfile') === false)
$_SESSION['old_url'] = $_SERVER['REQUEST_URL'];

[02-Sep-2014 17:14:41 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /home/androidt/public_html/Sources/PrettyUrls-Filters.php on line 301

Inserir CODE, HTML ou PHP:
	if (in_array($matches[2], $context['pretty']['action_array']))
					$urls[$url_id]['replacement'] = preg_replace($pattern, $replacement, $url['url']);
			}
	return $urls;
}

Muchas gracias por tu tiempo!
:encouragement:
 

Tópicos similares

Voltar
Topo