Like a drunk on the stairs ... (9 posts)

  1. giddykipper
    Posted 6 years ago #

    ... two steps up and one-and-a-half backwards.
    My latest stumbling block is that when I type the line
    to begin the whole configuration process, my browser asks if I want to download it or open it up. If I do click 'Open' it pops it up in Dreamweaver ready to edit.
    Anyone reached this point themselves and got past it? AHGR.
    Feels like I'm close but no cigar ...
    It's the latest release of WP all snug in a sub-directory, MySQL enabled at the host and the config.php file filled in as per (if you need the code just shout)

  2. Zulfikar Nore
    Posted 6 years ago #

    Its a php configuration error, its not executing - advise your host and they should fix it.

  3. giddykipper
    Posted 6 years ago #

    ZGani - thanks for your reply. I fear the error may be mine, either at the phpMyAdmin stage or during the filling in of the config.php file. Is there some code I can send that might clear this up? Obviously, only if you have time, thanks
    Yours newbiely

  4. Zulfikar Nore
    Posted 6 years ago #

    If its the wp-config.php then you can download and edit with the correct info. If its the database then you gota use the phpMyAdmin to resolve the problem.

    Drop me a mail if you need me to take a look at it for you.

  5. giddykipper
    Posted 6 years ago #

    Hello again
    I've pasted the code from my config.php in - apologies for the length. If anything is glaringly obvious, hit me with the idiot stick ...

    * The base configurations of the WordPress.
    * This file has the following configurations: MySQL settings, Table Prefix,
    * Secret Keys, WordPress Language, and ABSPATH. You can find more information by
    * visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
    * wp-config.php} Codex page. You can get the MySQL settings from your web host.
    * This file is used by the wp-config.php creation script during the
    * installation. You don't have to use the web site, you can just copy this file
    * to "wp-config.php" and fill in the values.
    * @package WordPress

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'giddykipper_pn');

    /** MySQL database username */
    define('DB_USER', 'blahdeblah');

    /** MySQL database password */

    /** MySQL hostname */
    define('DB_HOST', 'localhost');

    /** 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.
    * Change these to different unique phrases!
    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ 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', 'XXX');
    define('SECURE_AUTH_KEY', 'XXX');
    define('LOGGED_IN_KEY', 'XXX');
    define('NONCE_KEY', 'XXX');

    * 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 = 'wp_';

    * WordPress Localized Language, defaults to English.
    * Change this to localize WordPress. A corresponding MO file for the chosen
    * language must be installed to wp-content/languages. For example, install
    * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
    * language support.
    define ('WPLANG', '');

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

    /** WordPress absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    ------- phew, ther it is, AHGR

  6. whooami
    Posted 6 years ago #

    please edit your post and remove the password and mysql db info stuff. you probably want to change that password now as well.

    you dont ever want to post stuff like that on a public forum.

    you may want to also want edit your four keys.

  7. giddykipper
    Posted 6 years ago #

    Excuse my naivete - will do ...

  8. whooami
    Posted 6 years ago #

    being prompted to download .php files is typically a result of the wrong mimetype or no mimetype.

    do you have any other .php files on the server that load properly?

    if not, you need to talk to the host.

  9. giddykipper
    Posted 6 years ago #

    OK I'll try, thanks for your time

Topic Closed

This topic has been closed to new replies.

About this Topic