Forums

[resolved] Seting UP (19 posts)

  1. feridem
    Member
    Posted 5 years ago #

    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

  2. drmike
    Member
    Posted 5 years ago #

    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?

  3. feridem
    Member
    Posted 5 years ago #

    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

  4. drmike
    Member
    Posted 5 years ago #

    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.

  5. feridem
    Member
    Posted 5 years ago #

    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 ?

  6. moshu
    Member
    Posted 5 years ago #

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

  7. feridem
    Member
    Posted 5 years ago #

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

  8. moshu
    Member
    Posted 5 years ago #

    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.

  9. feridem
    Member
    Posted 5 years ago #

    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');
    ?>

  10. feridem
    Member
    Posted 5 years ago #

    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 ?

  11. moshu
    Member
    Posted 5 years ago #

    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?

  12. feridem
    Member
    Posted 5 years ago #

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

  13. moshu
    Member
    Posted 5 years ago #

    Is this a Windows server?

  14. feridem
    Member
    Posted 5 years ago #

    unix

  15. moshu
    Member
    Posted 5 years ago #

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

  16. feridem
    Member
    Posted 5 years ago #

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

  17. moshu
    Member
    Posted 5 years ago #

    That's the problem. Before the wp-settings.php it should show the whole server path.

    If I remove the wp-settings file from my local install, it says:

    Warning: main(C:apachefriends/xampp/htdocs/214/wordpress/wp-settings.php) [function.main]: failed to open stream: No such file or directory in C:apachefriends/xampp/htdocs/214/wordpress/wp-config.php on line 20

    Fatal error: main() [function.require]: Failed opening required 'C:apachefriends/xampp/htdocs/214/wordpress/wp-settings.php' (include_path='.;C:apachefriends/xampp/php/pear') in C:apachefriends/xampp/htdocs/214/wordpress/wp-config.php on line 20

    There is something wrong with that whole setup but I doubt we can say more without seeing it.
    If you want, contact me (by clicking on my name) and provide the access info, so that I can take a look at it.

  18. feridem
    Member
    Posted 5 years ago #

    I emailed you through your web site under contact. If you have a phone no. please pass it to me if you can. It is getting very difficult to install WordPress. I am thinkging of giving it up all if it is this difficult.
    Regards
    Feridem

  19. doodlebee
    Member
    Posted 5 years ago #

    what is your wp-settings.php file size on your server? It should be 8KB. Is it 0?

Topic Closed

This topic has been closed to new replies.

About this Topic