• When I copied all files and launch the install.php, I got the following:

    Fatal error: require_once() [function.require]: Failed opening required ‘../wp-config.php’

    here is my wp-config.php:
    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘yudx’); // Your MySQL username
    define(‘DB_PASSWORD’, ”); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

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

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

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

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>

    and part of my install.php:

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter yudixue

    (@yudixue)

    1- <?php
    2- define(‘WP_INSTALLING’, true);
    3- if (!file_exists(‘../wp-config.php’))
    4- die(“There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.”);
    5-
    6- require_once(‘../wp-config.php’);
    7- require_once(‘./upgrade-functions.php’);

    Thread Starter yudixue

    (@yudixue)

    Sorry, the entire error message should be:
    Fatal error: require_once() [function.require]: Failed opening required ‘../wp-config.php’ (include_path=’.:/usr/share/pear’) in /page/y/x/yux577/wp-admin/install.php on line 6

    thanks a lot for help!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Erro loading install.php’ is closed to new replies.