• Hey, I’m sry for doing this, but I have to. Pls look thru this file and see if everything is correct. Where can I see what my name for the database is?
    Thanks
    <?php
    /** WordPress’s config file **/
    /** http://wordpress.org/ **/
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘HENRIK’); // The name of the database
    define(‘DB_USER’, ‘henrik’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘*******’); // …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 */
    $server = DB_HOST;
    $loginsql = DB_USER;
    $passsql = DB_PASSWORD;
    $base = DB_NAME;
    define(‘ABSPATH’, dirname(__FILE__).’/’);
    // Get everything else
    require_once(ABSPATH.’wp-settings.php’);
    ?>

Viewing 15 replies - 16 through 30 (of 35 total)
  • Thread Starter henrik

    (@henrik)

    PHP version: 4.2.3

    That looks good.. which program are you using to transfer the files to the server from your machine ?

    Thread Starter henrik

    (@henrik)

    FileZilla!!
    isn’t this strange??

    Very πŸ™‚
    I’m mystified…..it is uploading as ascii though ?
    It’s almost certainly something between the download and upload..

    Thread Starter henrik

    (@henrik)

    yes index and config is absolutly uploaded in ascii

    Moderator James Huff

    (@macmanx)

    Try CHMOD 755 on both index.php and wp-config.php.

    I think the other options are:
    – try a different ftp client
    – download and unzip new files
    – see if someone else can upload the files for you

    Thread Starter henrik

    (@henrik)

    CHMOD 755 didn’t work, I will download a new ex of wordpress!

    Thread Starter henrik

    (@henrik)

    I have uploaded all the files again and I set the mod to 666 for index and 766 for config, but it didn’t work either.
    if you look at this page is this correct.
    http://matrix.dzygn.com/blog/
    and is my config file correct.
    code
    <?php
    /** WordPress’s config file **/
    /** http://wordpress.org/ **/
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘dzygn_matrix’); // The name of the database
    define(‘DB_USER’, ‘dzygn_matrix’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘*******’); // …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 */
    $server = DB_HOST;
    $loginsql = DB_USER;
    $passsql = DB_PASSWORD;
    $base = DB_NAME;
    define(‘ABSPATH’, dirname(__FILE__).’/’);
    // Get everything else
    require_once(ABSPATH.’wp-settings.php’);
    ?>
    code

    Thread Starter henrik

    (@henrik)

    ?

    This is bizarre….
    I look at your page, I see junk characters.
    I View Source, I see everything as it should be.
    So, either the php on your website does not work, or you have called ‘index.php’ by another name, such as ‘index.html’
    If you want to email me, I can try and install it for you ?

    Thread Starter henrik

    (@henrik)

    I think it’s the php that don’t work, I’ll reinstall it.
    What should I do in my db? (changes)
    My db is empty right now..

    The db being empty is fine, but you will need a name and the connection details for the config file..

    Thread Starter henrik

    (@henrik)

    yeah—
    on the left side of the db I can click at dzygn_matrix

    Thread Starter henrik

    (@henrik)

    should I do anything with the db?

Viewing 15 replies - 16 through 30 (of 35 total)

The topic ‘config file settings.’ is closed to new replies.