Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - Gaby88

#1
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Eso es porque no checkean lo que retorna preg_match()

Podes reportarlo en You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
El tema es que tenes mal configurado php, si desactivas error_reporting ese notice no te sale y wp esta lleno de esos errores porque asumen que tenes el servidor bien configurado

Entonces al principo del archivo pon:

Código: php

error_reporting(0);


Saludos.

Ok, lo puse me deja acceder pero me muestra la pagina en blanco... :-\
#2
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Tienes wordpress actualizado?

Saludos.

Si, lo tengo actualizado
#3
Por lo poco que entiendo si comento esa línea me va a dejar de funcionar el resto, porque aparentemente llama a una función, que no inicia de manera correcta, intente ponerle cero pero es igual el error  :-\
#4
Buenas, me sale este mensaje al querer ingresar al wp-admin

Código: text
Notice: Undefined offset: 1 in /.../wp-includes/vars.php on line 30

Código:
Código: php
wp-admin pages are checked more carefully
if ( is_network_admin() )
preg_match('#/wp-admin/network/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches);
elseif ( is_user_admin() )
preg_match('#/wp-admin/user/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches);
else
preg_match('#/wp-admin/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches);
   ---> esta es la linea 30             $pagenow = $self_matches[1];
$pagenow = trim($pagenow,'/');
$pagenow = preg_replace('#\?.*?$#', '', $pagenow);
if ( '' === $pagenow || 'index' === $pagenow || 'index.php' === $pagenow ) {
$pagenow = 'index.php';
} else {
preg_match('#(.*?)(/|$)#', $pagenow, $self_matches);
$pagenow = strtolower($self_matches[1]);
if ( '.php' !== substr($pagenow, -4, 4) )
$pagenow .= '.php'; // for Options +Multiviews: /wp-admin/themes/index.php (themes.php is queried)
}


Alguien que me ayude?