Suporte » Instalando o WordPress » reinstalação do wordpress

  • ola amigos desinstalei o WordPress

      por dento do meu servidor de hospedagem hostgator, e quando instalei de novo não consegui acessar o banco de dados dai o meu site aparece como se estivesse vazio com aquela mensagem Hello word se alguém puder me ajudar ja fazem dois dias que meu blog esta fora do ar o código do wp-config.php é <?php
      /**
      * The base configurations of the WordPress.
      *
      * This file has the following configurations: MySQL settings, Table Prefix,
      * Secret Keys, WordPress Language, and ABSPATH. You can find more information
      * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
      * wp-config.php} Codex page. You can get the MySQL settings from your web host.
      *
      * 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
      */

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘WP_CACHE’, true); //Added by WP-Cache Manager
    define( ‘WPCACHEHOME’, ‘/home/devol698/public_html/wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager
    define(‘DB_NAME’, ‘devol698_wrdp1’);

    /** MySQL database username */
    define(‘DB_USER’rodrigo ‘devol698_wrdp1’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘011186secreta’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);

    /**#@+
    * Authentication Unique Keys and Salts.
    *
    * Change these to different unique phrases!
    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    *
    * @since 2.6.0
    */
    define(‘AUTH_KEY’, ‘g>Kc!0K1-qb3wLrj:TM!C4y~|sF:s~G@BPWEZ#)-Oi\`y1PIaMx:Uc83oDEl$6GXAM3<F*O9TRpyPL7Q-82I’);
    define(‘SECURE_AUTH_KEY’, ”);
    define(‘LOGGED_IN_KEY’011186secreta’u:<pWy||MO@qJ_;dL5_1gcgtSxf0)BqZ5N!A)qGLpuuyHtm:N!eMZG^^XJ7GV^bB$NXkq’);
    define(‘NONCE_KEY’, ‘rWcU5F:3EbBH/#S>>nJ?n4x2M/6rVT-j~sBGl\`fmNL3;XH^8!hcYIagE@ZiI’);
    define(‘AUTH_SALT’, ‘5iVmnModPROGYdy#wtd$R>_QLO\`Do6N_9Y!8<ZP:pNYlc9@C<A|Q5tyG^c@Fx|OD2z’);
    define(‘SECURE_AUTH_SALT’, ‘plx-)amOhdbL-7k6c<38E$EudEa160nvES/h3JVd5i(d5=X|HHm6M!-)Qm/wx^LE-royO4#UHLCY’);
    define(‘LOGGED_IN_SALT’, ‘sg;)hkka8@m0N-K=W8A_^^r(rYVo)VDj/)MA/SCQ0OvV5Kig@UgDHav~Gu-Mtg07-6L~s4’);
    define(‘NONCE_SALT’, ‘a@T07#NOrMBHbcj_f;?j<E*;=)H?>p=omQ5X0|oM$bmxip0J;~aU:PToiK’);

    /**#@-*/

    /**
    * WordPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each a unique
    * prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = ‘wp_’;

    /**
    * WordPress Localized Language, defaults to English.
    *
    * Change this to localize WordPress. A corresponding MO file for the chosen
    * language must be installed to wp-content/languages. For example, install
    * de_DE.mo to wp-content/languages and set WPLANG to ‘de_DE’ to enable German
    * language support.
    */
    define(‘WPLANG’, ”);

    /**
    * For developers: WordPress debugging mode.
    *
    * Change this to true to enable the display of notices during development.
    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    */
    define(‘WP_DEBUG’, false);

    /* That’s all, stop editing! Happy blogging. */

    /** 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’);

Visualizando 1 resposta (de um total de 1)
  • Primeiro, voce precisa achar a base de dados correta (toda vez que instala ele cria uma nova). Alguma maneiras diferentes de fazer:

    2 – Verifique, através phpMyAdmin (no cPanel) se existe uma base de dados com os posts que você tinha.

    Clique nas bases de dados, e abra a tabela ‘wp_posts’ (ou algo assim) e verifique se tem os posts. Se tiver, vá no wp-config.php e coloque o nome da base de dados que estão os Posts.

    2 – Se você tiver feito backup faça a restauração do mesmo (Deveria ter…).

    3 – Existe uma pequena possibilidade da sua hospedagem fazer backups diariamente (realmente não sei se a Hostgator faz isso…). Procure saber se ela faz, se sim, peça para ela fazer a restauração do backup…

    Acho pouco provável que o banco de dados tenha sido sobrescrito por um novo (em branco) durante a instalação, mas achei estranho base de dados ser a ‘*_wrdp1’ (esse ‘1’ significa que é a primeira)…

    Você precisará configurar o wp-config para acessar o banco corretamente, alterando o nome da base de dados, o usuário (para o mesmo nome da base) e colocando a senha.

    Provavelmente não saiba a senha, então a troque:

    http://pt.blog.marceloaltmann.com/en-change-user-password-on-mysql-pt-trocando-a-senha-do-usuario-no-mysql/

    PS: Se ele realmente não estive-se conseguindo se conectar a base de dados, apareceria a mensagem: “falha na conexão com o banco de dados”

Visualizando 1 resposta (de um total de 1)
  • O tópico ‘reinstalação do wordpress’ está fechado para novas respostas.