• rd0709

    (@rd0709)


    I’ve done this before but this time it’s not working. When I try to install I get a screen starting with this code:

    <?php
    define(‘WP_INSTALLING’, true);
    if (!file_exists(‘../wp-config.php’)) {
    require_once(‘../wp-includes/functions.php’);
    wp_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.”, “WordPress › Error”);
    }

    require_once(‘../wp-config.php’);
    require_once(‘./upgrade-functions.php’);

    I’ve checked, and there is a wp-config.php on my site. So what’s wrong?

Viewing 7 replies - 1 through 7 (of 7 total)
  • MichaelH

    (@michaelh)

    If you are seeing the ‘actual code’ then PHP may not be working properly. Check with your host.

    kareeser

    (@kareeser)

    Not sure if it helps, but I got the same screen when I started.

    The problem was I didn’t create the wp-config.php file.

    Copy wp-config-sample.php from the root directory, edit, modify corresponding values, and save as wp-config.php in the same directory.

    I have no clue why it shows actual code, as my php parser is working…

    Mm… is your wp-config.php in the wordpress directory?

    Thread Starter rd0709

    (@rd0709)

    I’m completely mystified. I can log into my other blogs just fine. I have an empty SQL database set up for my new blog. The wp-config.php file is properly configured and is in the directory where it belongs. What a pain in the ass!

    stevelovejoy

    (@stevelovejoy)

    I, too am having this issue. Just so you know, I know only enough to be dangerous. I have a winXP-SP2 box, downloaded MySQL 5.2.3 and PHP 5.2.1 especially for this installation, but am not certain I have them running… I DID indeed already sign up for an account with WordPress.and would like some resolution to this issue, sine I found a bunch of plug-ins that sound nice (found them Here)

    I’m not a perfect idiot. Nobody’s perfect.

    Hi,

    I have done the step 2: setting up my database, usename and password in Mysql in cpanel
    Also set up set 3: wp_config file by keying in my bdname, username and password.

    And yet, i couldnt start up on the installation. This is what i get when i go into my page (refer below). can anyone pls help ?

    tx.
    demoment

    “Can’t select database
    We were able to connect to the database server (which means your username and password is okay) but not able to select the blog database.

    Are you sure it exists?
    On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?
    If you don’t know how to setup a database you should contact your host. If all else fails you may find help at the WordPress Support Forums.”

    You might want to review Editing wp-config.php.

    I followed the sample thru tutorial..This is how my wp-config.php looks like. Anything wrong i have done ? Tx a lot.

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘blog’); // The name of the database
    define(‘DB_USER’, ‘demoment’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘xxxxxx’); // …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 = ‘blog_’; // 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’);
    ?>

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

The topic ‘installation doesn’t start’ is closed to new replies.