Viewing 15 replies - 1 through 15 (of 15 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What’s are the first few lines of your wp-config.php file? If there are any that have IDs or passwords, please XXX those out in your reply.

    Thread Starter rigotordoc

    (@rigotordoc)

    Hello Steven, thanks for helping me, will I be able to send you that information in private?
    Is there no risk to publish that information in this forum?
    I wait your answer

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Do not send anything to me in private; there is no such facility here. This is a PUBLIC support channel. As I noted, if there’s anything private, XXXX it out.

    Thread Starter rigotordoc

    (@rigotordoc)

    OK, I changed all the keys as you said by XXXXXXXXXXXXXXXXXXXXXXXX

    Thank you very much again

    Here is all the content of the wp-config

    <?php
    
    /** 
     * Configuración básica de WordPress.
     *
     * Este archivo contiene las siguientes configuraciones: ajustes de MySQL, prefijo de tablas,
     * claves secretas, idioma de WordPress y ABSPATH. Para obtener más información,
     * visita la página del Codex{@link http://codex.wordpress.org/Editing_wp-config.php Editing
     * wp-config.php} . Los ajustes de MySQL te los proporcionará tu proveedor de alojamiento web.
     *
     * This file is used by the wp-config.php creation script during the
     * installation. You don't have to use the web site, you can just copy this file
     * to "wp-config.php" and fill in the values.
     *
     * @package WordPress
     */
    
    // ** Ajustes de MySQL. Solicita estos datos a tu proveedor de alojamiento web. ** //
    /** El nombre de tu base de datos de WordPress */
    define('DB_NAME', 'XXXXXXXXXXXXX');
    
    /** Tu nombre de usuario de MySQL */
    define('DB_USER', 'XXXXXXXXXXXXXX');
    
    /** Tu contraseña de MySQL */
    define('DB_PASSWORD', 'XXXXXXXXXXXX');
    
    /** Host de MySQL (es muy probable que no necesites cambiarlo) */
    define('DB_HOST', 'XXXXXXXXXXX.XXXXXXXXXmysql.com');
    
    define( 'WP_DEBUG', true );
    
    /** Codificación de caracteres para la base de datos. */
    define('DB_CHARSET', 'utf8');
    
    /** Cotejamiento de la base de datos. No lo modifiques si tienes dudas. */
    define('DB_COLLATE', '');
    
    /**#@+
     * Claves únicas de autentificación.
     *
     * Define cada clave secreta con una frase aleatoria distinta.
     * Puedes generarlas usando el {@link https://api.wordpress.org/secret-key/1.1/salt/ servicio de claves secretas de WordPress}
     * Puedes cambiar las claves en cualquier momento para invalidar todas las cookies existentes. Esto forzará a todos los usuarios a volver a hacer login.
     *
     * @since 2.6.0
     */
    define('AUTH_KEY', 'XXXXXXXXXXXXXXXXXXXXXXXXXXX(p:XXXXXXXXXXXXXXXXXXXX'); // Cambia esto por tu frase aleatoria.
    define('SECURE_AUTH_KEY', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX;n6Q7b]rL|&w('); // Cambia esto por tu frase aleatoria.
    define('LOGGED_IN_KEY', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.hOnj*iO?oo&?+l.sE;qI'); // Cambia esto por tu frase aleatoria.
    define('NONCE_KEY', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'); // Cambia esto por tu frase aleatoria.
    define('AUTH_SALT', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'); // Cambia esto por tu frase aleatoria.
    define('SECURE_AUTH_SALT', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'); // Cambia esto por tu frase aleatoria.
    define('LOGGED_IN_SALT', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.(H3ZMMK%$NsT<o?'); // Cambia esto por tu frase aleatoria.
    define('NONCE_SALT', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'); // Cambia esto por tu frase aleatoria.
    
    /**#@-*/
    
    /**
     * Prefijo de la base de datos de WordPress.
     *
     * Cambia el prefijo si deseas instalar multiples blogs en una sola base de datos.
     * Emplea solo números, letras y guión bajo.
     */
    $table_prefix  = 'wp_';
    
    /**
     * Idioma de WordPress.
     *
     * Cambia lo siguiente para tener WordPress en tu idioma. El correspondiente archivo MO
     * del lenguaje elegido debe encontrarse en wp-content/languages.
     * Por ejemplo, instala ca_ES.mo copiándolo a wp-content/languages y define WPLANG como 'ca_ES'
     * para traducir WordPress al catalán.
     */
    define('WPLANG', 'es_ES');
    
    /**
     * Para desarrolladores: modo debug de WordPress.
     *
     * Cambia esto a true para activar la muestra de avisos durante el desarrollo.
     * Se recomienda encarecidamente a los desarrolladores de temas y plugins que usen WP_DEBUG
     * en sus entornos de desarrollo.
     */
    define('WP_DEBUG', false);
    
    /* ¡Eso es todo, deja de editar! Feliz blogging */
    
    /** WordPress absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Is there anything before the opening <?php? That needs to be the very first thing in the file.

    Thread Starter rigotordoc

    (@rigotordoc)

    Hi, There is nothing before the opening <? Php in my file, I just verified, with that line my wp-config file starts

    Thread Starter rigotordoc

    (@rigotordoc)

    Hi, I have other pages; I just reviewed and the file starts the same with <? php on the first line.
    Do you need any other information so that you can help me?
    It is very important for me to be able to access my page

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site. You can then use its admin bar menu to turn on/off plugins and themes one at a time.

    See http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/

    Thread Starter rigotordoc

    (@rigotordoc)

    Hi, I’ve already disabled all the plugins by changing the name by FTP to the directory, the problem was NOT corrected. I can not change the theme because I can not log in.
    The same error is still shown on the white screen.

    Any other suggestions?

    Thank you again for your help. This chat can be seen by other people who might come up with another solution?

    • This reply was modified 5 years, 1 month ago by rigotordoc.
    Thread Starter rigotordoc

    (@rigotordoc)

    Hello, the problem was caused by the PHP version, replaced by version 5.3 and the problem was solved

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    PHP 5.3 is not up to date or secure. You should be on PHP 7.2 at this time.

    Thread Starter rigotordoc

    (@rigotordoc)

    Hi Steven, yes, I know, the issue is that I could not log in on my page; when I changed the php I was able to log in, I updated what I had to update and I already changed the php to 7.1 which is the most updated that my hosting gives me.

    What should I change so that this problem does not arise again?

    Thanks again

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Just keep things up to date.

    Thread Starter rigotordoc

    (@rigotordoc)

    Ok, I already updated everything that had to be updated, but the same page warned me that I had to update the php, when updating the php I have the same error again and to be able to make any other change in my page I must change the php another time, it does not seem normal

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Ignore the PHP warnings, then, until your host supports 7.2 (or better).

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘I can not login to my page, an error message appears’ is closed to new replies.