Manual:How to debug/Login problems/es

Los problemas de inicio de sesión(como no poder iniciar sesión, cerrar sesión de inmediato, cerrar sesión aleatoriamente, no poder editar debido a errores de "pérdida de datos de sesión") pueden ser causados por una gran variedad de cosas, que hace que depurarlos sea difícil.

Cuando se investiga o se reportan errores, aquí hay algunos consejos.


 * Intenta recolectar información sobre varios aspectos del error:
 * Persiste luego de borrar las cookies del dominio del wiki? Cuando se inicia sesión usando el modo incógnito? Cuando se inicia sesión en un navegador diferente?
 * Si usas bloqueadores de anuncios o complementos de privacidad del navegador, ¿están bloqueando algo? Funciona si los desactivas?
 * ¿Afecta a todas tus cuentas de usuario o sólo a una?
 * ¿La opción "recuérdame" hace alguna diferencia? (Limpia las cookies antes de cualquier intento.)
 * If the problems are happening on a Wikimedia wiki, try logging in on another wiki, preferably one that does not share a second-level domain name (so if the problem happens on xy.wikipedia.org, try for example xy.wiktionary.org).
 * If the problems are happening on your own wiki, what MediaWiki version do you use? (Session and login handling has been fully rewritten in 1.27.) Pre-1.27, check the value of ; if it is false, test that your PHP session handling is working (e.g. that  is writable). If it is true, see what session providers (  subclasses) you are using.
 * If the problems are happening on your own wiki, check what session backend is being used, and make sure it works (data is actually persisted between requests). The most safe configuration is . If you're unsure about how it's configured, add this setting at the end of your LocalSettings.php.
 * Please do not reuse old bug reports unless you are sure it's the same cause. There are lots of reports about past issues, and the while symptoms will usually look vaguely similar to yours (there are only so many ways login can fail) the cause is likely to be different.

Some additional checks:


 * Be sure is not set to 1 or true, otherwise PHP sessions will overwrite MediaWiki sessions.
 * Be sure is set to an empty string. It marks sessions as invalid if configured incorrectly.
 * If set, be sure and  are correct.
 * If is set to true, your webserver must be served with HTTPS.

If the above information is not enough to diagnose the issue (which is usually the case), you'll need to get detailed debug data:


 * Capture the relevant HTTP requests and responses (i.e. visiting the login page + submitting the login form + the resulting redirect; if the wiki uses single sign-on then all the requests to  as well). This can be done by using the Network tab in the Developer Tools of your web browser (more information: Firefox; Internet Explorer, Chrome and Chromium, Safari). Note this includes security-sensitive data (such as your session ID); when reporting bugs, either sanitize them or create a private paste. (Dumping to a HAR file is an easy way to log all required data.)
 * If the problems are happening on your own wiki, check your logs for relevant records, especially the,  ,  ,   channels.


 * For certain types of cache you can get more information by setting debug mode:


 * Ensure the hostnames match in MediaWiki and Apache . For example, for the domain   and the web server located at  :




 * And: