• Resolved feridem

    (@feridem)


    Running wp-config.php for the first time, I get this error message what shall I do ?

    Fatal error: Failed opening required ‘//wp-settings.php’ (include_path=”) in //wp-config.php on line 20

Viewing 15 replies - 1 through 15 (of 18 total)
  • Is the file there?

    Are the file permissions set to either 444 or 644?

    Why are you trying to run wp-config.php? It’s not a file that you call from your browser. What are you trying to do?

    Thread Starter feridem

    (@feridem)

    I am trying to install Worpress for first time as instructed by Worpress.org
    as says….
    If you installed WordPress in the root directory, you should visit: http://example.com/wp-admin/install.php
    …..

    How /where can I set the permission to 444 or 644 ? who alocates this permission ?

    please help

    That’s correct but you state that you’re running wp-config.php. Sounds like you’re trying to load that file in your browser.

    Permissions are set with your FTP program or your host’s backend software.

    Thread Starter feridem

    (@feridem)

    OK, my host back-end has created the MySQL database with full authority for me to add/delete tables, etc.
    What else shall they’ve given me ?

    Everything you have to type into the wp-config.php file:
    DB name
    DB user name
    DB pw
    DB host

    Thread Starter feridem

    (@feridem)

    Yes, my host given me all above and I have typed them in wp-config.php before uploading to my root on host

    Your initial error says: you do NOT have the wp-settings.php file on the server. Try to re-upload and see if you can run the install.php.

    Thread Starter feridem

    (@feridem)

    My wp-config.php looks like this (except the password line):

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘feridem’); // The name of the database
    define(‘DB_USER’, ‘feridem’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘XXXXXXXXX’); // …and password
    define(‘DB_HOST’, ‘mysql.vcn.bc.ca’); // 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’);
    ?>

    Thread Starter feridem

    (@feridem)

    wp-settings.php was there and didn’t work.

    Which line is no. 20 which error is refering to. How the PHP lines are numbered ?

    Don’t worry about the lines!
    The file is not there where it is supposed to be. Period.
    The error message also shows there is something messy with your setup. Where did you upload the WP files? Which folder?

    Thread Starter feridem

    (@feridem)

    my root is under \webdata where my index.htm used to be is this ‘webdata’ folder is the problem ?

    Is this a Windows server?

    Thread Starter feridem

    (@feridem)

    unix

    Is this the original error message:
    Failed opening required '//wp-settings.php'
    or did you delete something from it?

    Thread Starter feridem

    (@feridem)

    The full original message is still:
    Fatal error: Failed opening required ‘//wp-settings.php’ (include_path=”) in //wp-config.php on line 20

Viewing 15 replies - 1 through 15 (of 18 total)

The topic ‘Seting UP’ is closed to new replies.