• When I try the install I get can’t find wp-config.php message. Errrr – it’s in the root and in the wp-admin folder. So I look up the code and it says:
    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘yzjjyqun_wordpress’); // The name of the database
    define(‘DB_USER’, ‘yzjjyqun_howlett’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘[MUNGED]’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = ‘wp_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’

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

    /* Stop editing */

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>
    The DB name, username and p/word are EXACTLY what was set up on the server so what’s happening?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Was the folder structure of WP maintained when the download unzipped ?

    wp-config should not be in /wp-admin

    Hi,

    How are you uploading the files to the server, are the permissions correct?

    Have you/ are you able to check the mysql settings using the mysql command line tools?

    What versions of apache/mysql/php are running on the server?

    westi

    Thread Starter dahowlett

    (@dahowlett)

    File structure was maintained. I manually copied wp-config to wp-admin (not moved!)
    Upload is FTP, permissions are all OK – why would I want to use command line when cPanel is available to me?
    Apache: 1.3.33
    PHP: 4.3.11
    MySQL: 4.0.24

    Thread Starter dahowlett

    (@dahowlett)

    Oh yes – I’m using THC as the provider. They insist everything goes into public_html

    wp-config.php does not go in /wp-admin

    It goes in the main folder along with wp-rss.php (and others)

    public_html is absolutely the correct place – above that and a browser cannot see it.

    Move wp-config.php

    Thread Starter dahowlett

    (@dahowlett)

    OK – so I deleted everything and started from scratch – believe me when I say the file and folder structure is identical to what I had before. Now it works??!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t find wp-config.php? You’re kidding?!’ is closed to new replies.