Seting UP
-
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
-
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?
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.
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 hostYes, 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.
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’);
?>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?my root is under \webdata where my index.htm used to be is this ‘webdata’ folder is the problem ?
Is this a Windows server?
unix
Is this the original error message:
Failed opening required '//wp-settings.php'
or did you delete something from it?The full original message is still:
Fatal error: Failed opening required ‘//wp-settings.php’ (include_path=”) in //wp-config.php on line 20
The topic ‘Seting UP’ is closed to new replies.