• 解決済 roqu

    (@roqu)


    ロリポップでサイトを作りました。もう一つ作ろうと、WordPressをインストールしたらどちらも画面が真っ白になってしまいました。
    ロリポップに相談したら、wp-configwp-config.phpに問題があるようです、とのとこ。
    WordPressのに相談してくれと言われました。
    しかし、500エラーということもいわれましたが、まったくわかりません。
    ちなみに、ロリポップFTPでwp-config.phpを見ると

    <?php
    define( ‘WP_CACHE’, true );
    /**

    The base configuration for WordPress
    *
    The wp-config.php creation script uses this file during the installation.
    You don’t have to use the web site, you can copy this file to “wp-config.php”
    and fill in the values.
    *
    This file contains the following configurations:
    *
    * Database settings
    * Secret keys
    * Database table prefix
    * Localized language
    * ABSPATH
    *
    @link https://wordpress.org/support/article/editing-wp-config-php/
    *
    @package WordPress
    */
    // ** Database settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define( ‘DB_NAME’, ‘xxxxxxxxxx’ );

    /** Database username */
    define( ‘DB_USER’, ‘xxxxxxxxxx’ );

    /** Database password */
    define( ‘DB_PASSWORD’, ‘xxxxxxxx’ );

    /** Database hostname */
    define( ‘DB_HOST’, ‘xxxxxxxx.xxx.xxxxxxx.xxx’ );

    /** 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’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’ );
    define( ‘SECURE_AUTH_KEY’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’ );
    define( ‘LOGGED_IN_KEY’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’ );
    define( ‘AUTH_SALT’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’ );
    define( ‘SECURE_AUTH_SALT’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’ );
    define( ‘LOGGED_IN_SALT’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’ );
    define( ‘NONCE_SALT’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’ );
    define( ‘WP_CACHE_KEY_SALT’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’ );
    /*#@-/

    /**

    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 = ‘wpxxxxxxxxxxxxxx_’;
    /**

    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.
    *
    For information on other constants that can be used for debugging,
    visit the documentation.
    *
    @link https://wordpress.org/support/article/debugging-in-wordpress/
    */
    define( ‘WP_DEBUG’, false );
    /* Add any custom values between this line and the “stop editing” line. */

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

    /** Absolute path to the WordPress directory. */
    if ( ! defined( ‘ABSPATH’ ) ) {
    define( ‘ABSPATH’, DIR . ‘/’ );
    }

    /** Sets up WordPress vars and included files. */
    require_once ABSPATH . ‘wp-settings.php’;
    define(‘WP_HOME’,’http://tase-art.com’);
    define(‘WP_SITEURL’,’http://tase-art.com’);
    define(‘WP_MEMORY_LIMIT’, ‘256M’);

    最後の3行目と2行目にhttp://tase-art.comという文字が入っていますが、
    これは新しく作ろうとしたサイトのurlです。
    これを、元のサイトのhttp://machiteku.galleryと書き換えてみましたが
    なにも変わりませんデシした。
    このwp-config.php におかしいところがあるのらしいのですが
    全く私にはこれらの意味が分かりません。
    どなたか、元のサイトが復活できるようにするにはどうしたら良いのか
    ご教授くだされば、この2ヶ月間の苦労が報われます。
    どうぞよろしくお願いします。

    • このトピックは3ヶ月、 3週前に瀬戸内ことり (Setouchi Kotori)が編集しました。理由: データベースパスワードなどが記載されていたため伏せ字にしました。
    • このトピックはToshiyuki Hondaが3ヶ月、 2週前に変更しました。
2件の返信を表示中 - 16 - 17件目 (全17件中)
2件の返信を表示中 - 16 - 17件目 (全17件中)
  • このトピックに返信するにはログインが必要です。